Docs
Introduction

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

Million.js is compatible with React 16 and above. If you're using an older version of React, you'll need to upgrade first.

That's it! Your project is now running on Million.js 🎉

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 Discord (opens in a new tab) or submit an issue on GitHub (opens in a new tab).