DEV Community

Cover image for What the Error? ReactJS: Hooks can only be called inside the body of a function component
Owen Conti 🇨🇦
Owen Conti 🇨🇦

Posted on

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

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".

Top comments (1)

Collapse
 
bip3r profile image
Or Orsatti

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