The best virtual-dom alternatives
4 tools that do a similar job to virtual-dom, 4 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
virtual-domA JavaScript library for describing a web page as data and efficiently updating the real DOM.
- 1

React
Open source · MIT · ★ 252k
A JavaScript library for building interactive user interfaces out of reusable components.
Best for: Developers building interactive web interfaces with JavaScript; Teams adding React gradually to an existing project, as the README describes
- 2

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
- 3

Snabbdom
Open source · MIT · ★ 12.4k
A small, fast virtual DOM library for building and updating web interfaces efficiently.
Best for: Developers building interactive web interfaces who want a small, low-level rendering library; Teams that prefer to pick only the modules they need rather than adopt a full framework
- 4

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
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 virtual-dom. We don't take payment for placement.