{"repo":"aidenybai/million","free":true,"listed":false,"github":"https://github.com/aidenybai/million","clone":"git clone https://github.com/aidenybai/million.git","description":"Optimizing compiler for React","language":"TypeScript","stars":17669,"topics":["hacktoberfest","million","millionjs","virtual-dom","react","blockdom","compiler","memo","optimization","performance"],"license":"MIT","category":"machine-learning","readme_excerpt":"Want to automatically find and fix performance issues ? Check out Million Lint. 📚 Read the docs 🎦 Watch video 💬 Join our Discord 🌐 Follow on Twitter What is Million.js? Million.js is an extremely fast and lightweight optimizing compiler that make components up to 70% faster . Oh man... Another /virtual dom javascript/gi framework? I'm fine with React already, why do I need this? Million.js works with React and makes reconciliation faster. By using a fine-tuned, optimized virtual DOM, Million.js reduces the overhead of diffing ( try it out here ) TL;DR: Imagine React components running at the speed of raw JavaScript. 👉 Setup Million.js in seconds! → Installation The Million.js CLI will automatically install the package and configure your project for you. Once your down, just run your project and information should show up in your command line! Having issues installing? → View the installation guide Why Million.js? To understand why to use Million.js, we need to understand how React updates interfaces. When an application's state or props change, React undergoes an update in two parts: rendering and reconciliation. To show this, let's say this is our App : In this App , when I click on the button, the count state will update and the tag will update to reflect the new value. Let's break this down. Rendering The first step is rendering. Rendering is the process of generating a snapshot of the current component. You can imagine it as simply \"calling\" the App function and stor","default_branch":null,"files":null,"tree":[],"storefront":"/r/aidenybai","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/aidenybai/million/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}