News for hackers. Stuff that matters.
Re:The new wave of React state management by shirogane86x on Monday July 04, 2022 @08:37AM (#31976376)
As someone who didn't get react at all before hooks, and still doesn't 100% get react with class components (but is quite proficient with hooks) what's the issue with hooks specifically? genuinely curious. I find react with class components very messy, and especially in the basic components, I find useState + useEffect a lot cleaner and easy to reason about than setState and all the lifecycle hooks...

There are no comments on this comment yet.