Mithril is a modern client-side JavaScript framework for building Single Page Applications. It's small (< 10kb gzip), fast and provides routing and XHR utilities out of the box. Mithril is used by companies like Vimeo and Nike, and open source platforms like Lichess. Mithril supports IE11, Firefox ESR, and the last two versions of Firefox, Edge, Safari, and Chrome. No polyfills required. By default, Mithril views are described using hyperscript. Hyperscript offers a terse syntax that can be indented more naturally than HTML for complex tags, and since its syntax is just JavaScript, it's possible to leverage a lot of JavaScript tooling ecosystem. Mithril is all about getting meaningful work done efficiently. Doing file uploads? The docs show you how. Authentication? Documented too. Exit animations? You got it. No extra libraries, no magic.

Features

  • Small, fast and provides routing and XHR utilities out of the box
  • Mithril supports IE11, Firefox ESR, and the last two versions of Firefox, Edge, Safari, and Chrome
  • Mithril automatically figures out the most efficient way of updating the text, rather than blindly recreating it from scratch
  • Mithril is very fast at rendering updates, because it only touches the parts of the DOM it absolutely needs to
  • You can navigate back and forth to the splash page using the browser's back and next button
  • Testing Mithril applications is relatively easy

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Mithril.js

Mithril.js Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Mithril.js!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Build Tools, JavaScript Frameworks

Registered

2021-05-05