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

Right, it's not that managing state was hard it's that sharing the logic to manage it was hard. Hooks are additive in that way -- it's offering you the ability to re-use your stateful React logic in the same way you can re-use your declarative JSX.


Thanks for the explanation. React is a great solution for many problems.




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

Search: