News for hackers. Stuff that matters.
Re:Why is modern web development so complicated? by The_rationalist on Wednesday August 07, 2019 @07:41PM (#20640392)
This is far from obvious and is almost never convincingly exemplified.
Re:Why is modern web development so complicated? by enraged_camel on Thursday August 08, 2019 @02:40AM (#20642357)
It should be totally obvious if you have written or tried to reason about a jQuery codebase that is larger than, say, one thousand lines of code, especially with multiple event listeners reading from and writing to the same pieces of state.
Re:Why is modern web development so complicated? by acdha on Thursday August 08, 2019 @07:28AM (#20643496)
Having done this many times, my main takeaway is that storing state is what the DOM was designed to do and it’s faster than a virtual DOM.
Re:Why is modern web development so complicated? by pixelbash on Thursday August 08, 2019 @06:21AM (#20643196)
Try two way binding on nested form elements with jQuery.
Re:Why is modern web development so complicated? by Izkata on Thursday August 08, 2019 @11:26AM (#20645408)
My philosophy in those days was that the DOM is the data store, with accessors that are only used during queries. Done this way, I'd never experienced the headaches people complain about.