News for hackers. Stuff that matters.
Re:With React 16.8, React Hooks are available in a stable re... by palerdot on Wednesday February 06, 2019 @07:38AM (#19094615)
I have the exact opposite perception. Previously, I used to convert a function/stateless component, just because I need one transient state and it felt very verbose to switch to class components, while all it needed was one state and corresponding setState. With Hooks, all of them just become more transparent (you explicitly have to hook all the states, not just use one state and add later add more states to track). Though I admit I felt uncomfortable initially, it just feels right once you start working with them. I really like hooks!!!

There are no comments on this comment yet.