DEV Community

Discussion on: useState() React Hooks(P1)

Collapse
 
emmabostian profile image
Emma Bostian ✨

Also might be worth noting that the hooks have to be the first thing in the function :) that confused me when I was starting!

Collapse
 
danijelajs profile image
Danijela.js🛸

You are right, I'll add that to the article! 😊