Hacker News new | past | comments | ask | show | jobs | submit login

> you have to wrap all your data structures into the mithril collections/models so that they can communicate with the views.

Only when you need bidirectional bindings, and you're not forced to use the builtin `m.prop()` helpers, you can easily whip your own if they don't work for your use case.

See my last link for an example.




Isn't that the whole point though? I mean, discarding existing DOM with forms is a horrible experience.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: