5 ms·
The problem with using the DOM or similar UI frameworks is that you have to code the delta from any state to any state by hand. This is exceedingly complex, er
by continuational 2y ago
The problem with using the DOM or similar UI frameworks is that you have to code the delta from any state to any state by hand.
This is exceedingly complex, error prone (because you might miss parts of the state that should change) and often slow (because you tend to overcorrect).
- itronitron 2y agoWell, yes and no, it depends... It does require a lot of thinking before hand about the user interactions and their impact on the application state, user workflows, etc. However that thinking should already be happening regardless of the choice of implementing technology (granted it doesn't in a lot of cases :| )
- SPascareli13 2y agoThe problem seems to be that the fundamental abstractions in web (HTML and the DOM) are not suited to modern web apps. This much complexity around state management shouldn't be needed.
- npc12345 2y ago[dead]