4 ms·
Looks like MVC/MVVC, something that has been available to do in JS since long time ago (Backbone.js was a popular option for doing a modified version of this).
by capableweb 3y ago
Looks like MVC/MVVC, something that has been available to do in JS since long time ago (Backbone.js was a popular option for doing a modified version of this). Or I'm missing something obvious. Care to explain a bit more in detail?
- petilon 3y agoBackbone.js used 2-way data binding. Some people mistakenly think MVC implies 2-way data binding. It does not. The point here is that you can write maintainable, clean, efficient JavaScript web apps without the load of complexity added by React.
- capableweb 3y ago> Backbone.js used 2-way data binding. No, Backbone.js doesn't do 2-way data binding, although some certainly made it do that. But it doesn't by default, it has a 1-way data binding (the UI updates when the model changes, but doesn't update the model automatically when the UI changes). > Some people mistakenly think MVC implies 2-way data binding. It does not. What? Who does that? I certainly didn't and I haven't heard anyone in my +decade of web development.
- petilon 3y agoFamously, a Facebook engineer declare on stage that MVC doesn't scale. Later it turned out that she was talking about one specific implementation of MVC that used 2-way data binding. She assumed that 2-way data binding is part and parcel of MVC, because that's all she had seen.