New ask Hacker News story: Ask HN: I can no longer like React, do you?

Ask HN: I can no longer like React, do you?
6 by techsin101 | 3 comments on Hacker News.
If you resonate with what I said, there is no need for me to write anything here, and if you disagree then no amount of reasoning will be enough. Instead I'll just say where I am coming from and avoid going into technical reasons too much.. I started frontend as a hobby in 2010, I've been working as one for 8 years. Jquery was great but everytime you had to invent your own MVP. Came angular and it was extremely verbose. Then came react, it didn't have proper state thing nailed down like angular but it was simple, elegant, easy to reason and made code standardized and easy to read. I could join a new team and be productive in 3 days as a FE dev. Unheard of prior to React. However, gradually all that has been taken away. In my view peak React was when it used class.. in constructor you defined state in componentDidMount and simple life cycles methods you did things you needed to do. Now functions are actually fake, it's almost impossible to figure out when the app will render or update when the states changes. Hooks, HOC, Redux, etc... Now you hope it will does what it need to be done.. Before it was rock solid.. state management is even more messy and code is so far from procedural paradigm.. that you just hope. You can figure it out, but that's the thing you shouldn't have to figure out simple things. You didn't need to before. I recently made a chat app all in plain js, all in one file, and it works wonderfully. I surprised myself how easy to understand it is despite there being some lack of isolation... i've expanded the code at least 8 times so far and speed of delivery is remarkable. Turns out it's easy if there is no magic going and all code is simple, procedural, contained, and aptly named functions. Best of all IDE actually helps a ton in refactoring.

Comments