4 ms·
Hi, Mithril author here. `ng-model` is actually one of the "magic" things that @hippich is warning against. Having used Angular (and built Mithril based on les
by lhorie 12y ago
Hi, Mithril author here.
`ng-model` is actually one of the "magic" things that @hippich is warning against. Having used Angular (and built Mithril based on lessons learned from using it for a few years), I agree bindings are handy in a lot of cases. That is, until you need to work around them (maybe because your inputs are laggy, or you've hit the infamous 2000-binding-ceiling, or whatever). Then, they're not such a treat anymore.
With Mithril (and fwiw, other virtual dom libraries as well), you can choose to add the convenience of bindings where you find appropriate.
The points about POJOs and HTML syntax are, similarly, aspects that you have control over.
- mahmud 12y agoUpdate the copyright year of the mithril site footer; it still says 2014.