Mithril logo
Client-side MVC framework - a tool to organize code in a way that is easy to think about and to maintain

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 11.3K GitHub stars and 858 GitHub forks. Here’s a link to Mithril's open source repository on GitHub

Who uses Mithril?

5 companies use Mithril in their tech stacks, including Dial Once, Cloud Vlts, Inc., and SpartanGeek.

5 developers use Mithril.

Why developers like Mithril?

Here’s a list of reasons why companies and developers use Mithril

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?
AngularJS lets you write client-side web applications as if you had a smarter browser. It lets you use good old HTML (or HAML, Jade and friends!) as your template language and lets you extend HTML’s syntax to express your application’s components clearly and succinctly. It automatically synchronizes data from your UI (view) with your JavaScript objects (model) through 2-way data binding.
Backbone supplies structure to JavaScript-heavy applications by providing models key-value binding and custom events, collections with a rich API of enumerable functions, views with declarative event handling, and connects it all to your existing application over a RESTful JSON interface.
Angular 2
Angular is a development platform for building mobile and desktop web applications.
Ember.js is a JavaScript framework that does all of the heavy lifting that you'd normally have to do by hand. There are tasks that are common to every web app; Ember.js does those things for you, so you can focus on building killer features and UI.
Aurelia is a next generation JavaScript client framework that leverages simple conventions to empower your creativity.
See all alternatives

Mithril's Stats