Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: