Need advice about which tool to choose?Ask the StackShare community!
Durandal vs Mithril: What are the differences?
What is Durandal? Single Page Apps Done Right. Durandal is a cross-device, cross-platform client framework written in JS and designed to make Single Page Applications (SPAs) easy to create and maintain.
What is Mithril? Client-side MVC framework - a tool to organize code in a way that is easy to think about and to maintain. 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.
Durandal and Mithril belong to "Javascript MVC Frameworks" category of the tech stack.
Some of the features offered by Durandal are:
- Clean MV* Architecture
- JS & HTML Modularity
- Simple App Lifecycle
On the other hand, Mithril provides the following key features:
- Only 12kb gzipped, no dependencies
- Small API, small learning curve
- Safe-by-default templates
"Easy to learn" is the top reason why over 2 developers like Durandal, while over 15 developers mention "Lightweight" as the leading cause for choosing Mithril.
Durandal and Mithril are both open source tools. Mithril with 11.3K GitHub stars and 863 forks on GitHub appears to be more popular than Durandal with 1.78K GitHub stars and 391 GitHub forks.
Pros of Durandal
- UI components3
- Easy to learn3
- Javascript2
- Free2
- Works IE8 >2
- Customizable2
- Quick to develop2
- Easy to start2
- Open source2
Pros of Mithril
- Lightweight16
- Faster than React12
- Pure JavaScript10
- Virtual Dom10
- Robust8
- Unopinionated7
- Works with ES67
- Very active development6
- Intelligent auto-redrawing system5
- Flux compatible3
- Small Learning Curve2
Sign up to add or upvote prosMake informed product decisions
Cons of Durandal
Cons of Mithril
- Virtual Dom1