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

> “but then you are doing react wrong”

My objection is not that they are doing React wrong, it’s that their complaint is incoherent because there is literally nothing about React that could make this task take an hour. React isn’t a form library. You write the markup for an html input element, if it’s a controlled input you have a trivial one-line change event handler, and you have a submit event handler. Any additional complexity here isn’t coming from React, and managing to overcomplicate such a basic thing and misidentify the source of the complexity absolutely speaks to a skill issue.

This is especially funny in a thread where posters hold up Rails as a paragon of quality and efficiency.



It took me an hour to add a link to the page because I had to learn about how the React Router works and learn how to set it up for the page I was on. With HTML it takes a couple of minutes, no need to set up props, pull in a library. I just create the link and the anchor tag and bam! Just like that I'm done!




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

Search: