DEV Community

Discussion on: useState() React Hooks(P1)

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!

danijelajs profile image
Danijela.js🛸 Author

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