6 ms·
Nah. Hackers invented NIH syndrome! ;) (I don't know anything about Mithril, so I can't comment. Everything I've ever used that's a "framework" rather than
by groovy2shoes 10y ago
Nah. Hackers invented NIH syndrome! ;)
(I don't know anything about Mithril, so I can't comment. Everything I've ever used that's a "framework" rather than a "library" tends to be pretty restrictive, and I feel like many frameworks do all the fun stuff for you, leaving you with just the boring stuff to do).
- qwertyuiop924 10y agoMithril 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.