Mithril logo

Mithril

Client-side MVC framework - a tool to organize code in a way that is easy to think about and to maintain
87
79
+ 1
86

What is Mithril?

Mithril is around 12kb gzipped thanks to its small, focused, API. It provides a templating engine with a virtual DOM diff implementation for performant rendering, utilities for high-level modelling via functional composition, as well as support for routing and componentization.
Mithril is a tool in the Javascript MVC Frameworks category of a tech stack.
Mithril is an open source tool with GitHub stars and GitHub forks. Here’s a link to Mithril's open source repository on GitHub

Who uses Mithril?

Companies
15 companies reportedly use Mithril in their tech stacks, including Galileo, Dial Once, and Open Science Framework.

Developers
66 developers on StackShare have stated that they use Mithril.

Mithril Integrations

Pros of Mithril
16
Lightweight
12
Faster than React
10
Pure JavaScript
10
Virtual Dom
8
Robust
7
Unopinionated
7
Works with ES6
6
Very active development
5
Intelligent auto-redrawing system
3
Flux compatible
2
Small Learning Curve

Mithril's Features

  • Only 12kb gzipped, no dependencies
  • Small API, small learning curve
  • Safe-by-default templates
  • Hierarchical MVC via components
  • Virtual DOM diffing and compilable templates
  • Intelligent auto-redrawing system

Mithril Alternatives & Comparisons

What are some alternatives to Mithril?
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
Svelte
If you've ever built a JavaScript application, the chances are you've encountered – or at least heard of – frameworks like React, Angular, Vue and Ractive. Like Svelte, these tools all share a goal of making it easy to build slick interactive user interfaces. Rather than interpreting your application code at run time, your app is converted into ideal JavaScript at build time. That means you don't pay the performance cost of the framework's abstractions, or incur a penalty when your app first loads.
JavaScript
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
See all alternatives

Mithril's Followers
79 developers follow Mithril to keep up with related blogs and decisions.