News for hackers. Stuff that matters.
Re:How to manage HTML DOM with vanilla JavaScript only? by x3haloed on Thursday April 02, 2020 @10:26AM (#22759330)
No disrespect, but I think you proved @vbezhenar's point. The right way to structure the code is with a framework of some kind, even if it's homegrown.
Re:How to manage HTML DOM with vanilla JavaScript only? by rajeev-k on Thursday April 02, 2020 @10:31AM (#22759380)
If there is anything I am trying to prove it is that you don't need complicated frameworks like Angular or React. Those frameworks have gotten too complex for what they do.
Re:How to manage HTML DOM with vanilla JavaScript only? by robertoandred on Thursday April 02, 2020 @11:01AM (#22759779)
React doesn't even have a router, so your framework is already more complex.
Re:How to manage HTML DOM with vanilla JavaScript only? by grey-area on Thursday April 02, 2020 @11:42AM (#22760240)
How many lines is react?