Introduction
Million.js is a fast and lightweight (<4kb
) virtual DOM that can improve React's speed by up to 70% (opens in a new tab).
With a fine-tuned, optimized virtual DOM, Million.js can have your React components running at the speed of raw JavaScript.
Setup in seconds
The Million.js CLI will automatically install the package and configure your project for you.
npx million@latest
That's it! Your project is now running on Million.js.
Million.js is compatible with React 16 and above. If you're using an older version of React, you'll need to upgrade first.
The Installation Guide can help you get started right away.
Million.js vs. React
The following is a comprehensive demo using key-based rendering (opens in a new tab) to show how Million.js performance compares to React.
Any questions?
If you have any questions or need support, please feel free to ask them in the questions
channel on the Discord (opens in a new tab) or check out Million Beyond "Speed"