Need advice about which tool to choose?Ask the StackShare community!
Aurelia vs Mithril: What are the differences?
Aurelia: Next gen JS framework written with ES6 and ES7. Integrates with Web Components. No external dependencies except polyfills. Aurelia is a next generation JavaScript client framework that leverages simple conventions to empower your creativity; 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.
Aurelia and Mithril can be categorized as "Javascript MVC Frameworks" tools.
Some of the features offered by Aurelia are:
- Two-Way Databinding
- Routing & UI Composition
- Extensible HTML
On the other hand, Mithril provides the following key features:
- Only 12kb gzipped, no dependencies
- Small API, small learning curve
- Safe-by-default templates
"Simple with conventions" is the primary reason why developers consider Aurelia over the competitors, whereas "Lightweight" was stated as the key factor in picking Mithril.
Aurelia and Mithril are both open source tools. It seems that Mithril with 11.3K GitHub stars and 863 forks on GitHub has more adoption than Aurelia with 11.1K GitHub stars and 665 GitHub forks.
NOD studios, Strengthen, and SupplyPike are some of the popular companies that use Aurelia, whereas Mithril is used by Dial Once, Cloud Vlts, Inc., and SpartanGeek. Aurelia has a broader approval, being mentioned in 17 company stacks & 11 developers stacks; compared to Mithril, which is listed in 5 company stacks and 5 developer stacks.
Pros of Aurelia
- Simple with conventions47
- Modern architecture42
- Makes sense and is mostly javascript not framework39
- Extensible31
- Integrates well with other components28
- Easy to use27
- Dependency Injection25
- Modular22
- Great router20
- Adaptive Data Binding16
- Typescript, ES2015, ES201613
- IoC, Modularity, Simplicity, Full Stack11
- Good binding system9
- Based on ES79
- Testable6
- Convention based6
- Quick to develop5
- Solid Documentation4
- Evolving standards compliance4
- Smooth learning curve4
- Outstanding Support (paid)4
- Reactive binding system1
- TypeScript1
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 Aurelia
Cons of Mithril
- Virtual Dom1