loading...
Cover image for What the Error? ReactJS: Hooks can only be called inside the body of a function component

What the Error? ReactJS: Hooks can only be called inside the body of a function component

owenconti profile image Owen Conti 🇨🇦 💻 ・1 min read

This is the second video in my new series, What the Error? where I debug and resolve common error messages in web frameworks.

This video covers ReactJS's "Hooks can only be called inside the body of a function component".

Discussion

pic
Editor guide
Collapse
bip3r profile image
Or Orsatti

Nice one. I already know hooks but I might still take a look on it!