mishe / blog

前端碰上的问题或体会
230 stars 39 forks source link

未来的高性能前端框架mithril.js #111

Open mishe opened 8 years ago

mishe commented 8 years ago

为了不误导,所以引用原文

What is Mithril

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

框架特性

Light-weight

To run the execution time tests below, click on their respective links, run the profiler from your desired browser's developer tools and measure the running time of a page refresh (Lower is better).

Safety

Mithril templates are safe by default, i.e. you can't unintentionally create security holes.

To run the tests for each framework, click on the respective links. If you see an alert box, ensuring security with that framework is more work for you.