3 ms·
I don't think the model should care about the view. It should be possible to change the model without caring about view, or even knowing if a view exists. A vie
by nawitus 13y ago
I don't think the model should care about the view. It should be possible to change the model without caring about view, or even knowing if a view exists. A view should be able to use the model, but the model shouldn't care.
- dodyg 13y agoIt's just data for ractive.js to display on the DOM. There's no assumption on whether this is a Model, a View Model or whatever pattern you adopt for your app.