Skip to content

The best Million.js alternatives

8 tools that do a similar job to Million.js, 8 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

Million.js

An optimizing compiler that speeds up React components by skipping most of React's diffing work.

  1. 1

    Preact

    Open source · MIT · ★ 39k

    A small (about 4kB) React-style library for building user interfaces in JavaScript.

    Best for: Web developers who already know React and want a lighter library; Projects where small bundle size matters, such as pages loaded over slow connections

  2. 2

    Solid

    Open source · MIT · ★ 36.2k

    A JavaScript library for building user interfaces that updates only the parts of the page that change.

    Best for: Developers who want fine-grained control over what re-renders in a web UI; Developers already comfortable with JSX and TypeScript

  3. 3

    ahooks

    Open source · MIT · ★ 15k

    A React Hooks library of ready-made hooks for common state, request, and UI logic.

    Best for: React developers who repeatedly write data-fetching or state logic; Teams building business web apps who want tested, shared hooks

  4. 4

    useHooks

    Open source · MIT · ★ 11.5k

    A set of ready-made React hooks for common UI and browser tasks, built to be safe on the server.

    Best for: React developers who want ready-made hooks for common browser tasks; Teams building apps with React v18.0.0 or newer

  5. 5

    react-virtualized

    Open source · MIT · ★ 27.1k

    React components for efficiently rendering large lists and tabular data.

    Best for: React developers who need to display long lists of items; Teams building data tables or grids with many rows

  6. 6

    Inferno

    Open source · MIT · ★ 16.5k

    A fast, React-like JavaScript library for building user interfaces in the browser and on servers.

    Best for: Developers already familiar with React who want a React-like API; Projects that re-render frequently with real-time data or large DOM trees

  7. 7

    why-did-you-render

    Open source · MIT · ★ 12.5k

    A development-only tool that logs React re-renders that may be avoidable, so you can find slow spots.

    Best for: React developers investigating slow screens with many memoized or pure components; Teams debugging why a large memo component keeps re-rendering after a prop like an inline style object changes

  8. 8

    Lenis

    Open source · MIT · ★ 17k

    A small JavaScript library that makes page scrolling smooth on websites.

    Best for: Web developers adding smooth scrolling to a marketing or portfolio site; Developers syncing animations like GSAP ScrollTrigger or WebGL scenes to scroll position

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to Million.js. We don't take payment for placement.