DEV Community

Discussion on: Using the React Context API, the right way (a time saver)

 
itays123 profile image
Itay Schechner

Not only useState. You have the useEffect hook, an essential hook for every context & hooks back-of-the-frontend code, the useMemo and useCallback hook that I highly recommend you to understand, and a lot more you can do with those.

Thread Thread
 
youyirhode profile image
YouYi

You are right. I took a deep look of hooks.Basically, I noticed React separate the whole html, css structure from data. Then we can store data ,change data, update data, share data. That is state management, and all hooks serve for that.