2 ms·
Mithril defines a vdom, routing, a $.ajax style XHR request, a few handy wrapper functions, an mvc-style structure for your apps, and a rendering loop that know
by qwertyuiop924 10y ago
Mithril defines a vdom, routing, a $.ajax style XHR request, a few handy wrapper functions, an mvc-style structure for your apps, and a rendering loop that knows about ajax, and can be integrated with external libraries, so it only rerenders when necessary, and not while the application's state is inconsistant. However, the VDOM implementation, and kinda-sorta-not-really the MVC structure is all that's required. Yes, you can even write your own render loop if you want. Although why you'd want to do that is beyond me.