Helping you select a JavaScript framework
Developers have a number of choices today when it comes to selecting a JavaScript framework or UI library for building scalable web apps.
React, Vue, Svelte, Angular, Solid, Lit... the list of solutions continues to grow, but just how do you decide on which to use in a sea of so many options?
To help solve this problem, we created TodoMVC - a project which offers the same Todo application implemented in most of the popular JavaScript frameworks of the day. Each example is functionally identical and follows the same app specification, so you can compare syntax, structure, and idioms side by side on equal footing.
TodoMVC has been the de-facto teaching example for UI frameworks for over a decade, and forms the core of the cross-browser Speedometer benchmark used by every major browser engine to optimize UI performance.
The actively maintained examples in this repo are kept current with their framework's latest stable line. As of TodoMVC 2.0:
- React 19
- Vue 3.5
- Angular 21
- Svelte 5 (with runes)
- Preact 10
- Lit 3.3
- React Redux 9 (with Redux Toolkit 2)
Plenty of legacy framework showcases also live in examples/ for historical reference. See the website for the full list.
The app spec is plain Markdown and reads cleanly into any modern AI coding agent (Claude Code, Cursor, GitHub Copilot, Codex, Gemini Code Assist, Aider, and so on). To generate a fresh implementation in a framework or language that isn't on the list above, drop this prompt into your agent of choice:
Build a TodoMVC app following this spec https://raw.githubusercontent.com/tastejs/todomvc/refs/heads/master/app-spec.md in React
Replace React with Vue, Svelte, Angular, Solid, Lit, Preact, Qwik, or any framework or language you want to evaluate. The result follows the same behavioural surface every example in this repo implements (add, edit, toggle, filter, route, clear completed), so it's directly comparable to the reference apps.
Each example builds and serves itself. Most modern apps use Vite, webpack, or rollup; cd into an example, install, and run:
$ cd examples/react
$ npm install
$ npm run build
$ npm run serveTo run the Cypress test suite against the maintained examples:
$ npm install
$ npm run test:allnpm run test:all defaults to the curated modern set. Pass --all to sweep every example in examples/, or --framework=react to target a single one. See tests/README.md for details.
TodoMVC would not be possible without a strong team of contributors helping push the project forward each day. Additionally, we have a core project team composed of:
Addy Osmani - Founder/Lead
Sindre Sorhus - Lead Developer
Pascal Hartig - Developer
Stephen Sawchuk - Developer
Colin Eberhardt - Developer
Sam Saccone - Developer
Arthur Verschaeve - Developer
Fady Samir Sadek - Developer
Gianni Chiappetta - Logo designer
TodoMVC has been called many things including the 'Speed-dating' and 'Rosetta Stone' of JavaScript frameworks. Whilst we hope that this project can offer assistance in deciding what frameworks are worth spending more time looking at, remember that the Todo application offers a limited view of a framework's potential capability.
It is meant to be used as a gateway to reviewing how a basic application using a framework may be structured, and we heavily recommend investing time researching a solution in more depth before opting to use it.
Also, please keep in mind that TodoMVC is not the perfect way to compare the size of different frameworks. We intentionally use the unminified versions to make reading the source code easier.
Whilst we enjoy implementing and improving existing Todo apps, we're always interested in speaking to framework authors (and users) wishing to share Todo app implementations in their framework/solution of choice.
Check out our contribution docs for more info.
Everything in this repo is MIT License unless otherwise specified.
MIT © Addy Osmani, Sindre Sorhus, Pascal Hartig, Stephen Sawchuk.
