News for hackers. Stuff that matters.
Re:How to manage HTML DOM with vanilla JavaScript only? by pailhead on Thursday April 02, 2020 @09:07PM (#22765482)
Where does `input` even come from in your code? That's invalid syntax. Was it supposed to be `const foo = input =>{...}`?

b) It's kind of a bad practice to mutate raw DOM elements programatically without react, if it leads to horrible spaghetti code further down the road

There are no comments on this comment yet.