The best Mithril alternatives
6 tools that do a similar job to Mithril, 6 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
MithrilA small JavaScript framework for building single page web apps, with routing and XHR built in.
- 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

Svelte
Open source · MIT · ★ 88.5k
A web UI framework whose compiler turns components into plain JavaScript that updates the page directly.
Best for: Developers who want to build interactive websites with less boilerplate; Teams building web apps who prefer a compiler-based approach
- 3

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

Hyperapp
Open source · MIT · ★ 19.2k
A tiny JavaScript framework for building browser apps with a virtual DOM.
Best for: Developers who want a very small framework for simple to medium browser apps; People who like a functional style with plain state and actions
- 5

Gin
Open source · MIT · ★ 89.5k
A fast Go web framework for building HTTP APIs and web services with a simple routing API.
Best for: Go developers building REST APIs; Teams writing microservices in Go
- 6

Million.js
Open source · MIT · ★ 17.7k
An optimizing compiler that speeds up React components by skipping most of React's diffing work.
Best for: React developers whose apps have many elements that update often; Teams looking for a performance boost without rewriting their components
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 Mithril. We don't take payment for placement.