3 ms·
You could check out WebComponents, that is the closest you could ever get from WPF using only vanilla DOM (without a DOM framework). To me all that is really m
by throw_m239339 4y ago
You could check out WebComponents, that is the closest you could ever get from WPF using only vanilla DOM (without a DOM framework).
To me all that is really missing today in the DOM is a good DOM diff algorithm. Building a DOM fragment from a stateful model is easy. The hard part is updating the DOM currently displayed. the "event ups, data down" model from React is a good architecture at the end of the day, but one needs a DOM diff library to update the DOM efficiently. The rest is classic "MVC" rather than "MVVM". So you'd have to get familiar with Event Delegation as well.