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



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: