Re:JavaScript Fatigue or My History with Web Development
by shams93 on Tuesday June 27, 2017 @04:38AM
(#14643419)
It's not an issue with JavaScript it's that the Dom has always been horrible. It's actually slowly improved but not enough to do without the need for frameworks for complex front end applications.
[ Parent
| on HN ]
Re:JavaScript Fatigue or My History with Web Development
by maxxxxx on Tuesday June 27, 2017 @09:36AM
(#14645234)
I think that's the real problem. Most JS frameworks wouldn't be needed if the DOM was designed for what it's used today.
Re:JavaScript Fatigue or My History with Web Development
by fenwick67 on Tuesday June 27, 2017 @12:27PM
(#14646836)
Yes yes yes. Simply creating nested elements and getting references to each of them is such a huge pain, and it's a huge part of why frameworks are needed.
You would think creating, say, a form with a button and a textarea, and getting references to those things would be simple, but it's crazy painful in vanilla JS.