DEV Community

loading...

Discussion on: Your very first responsive and animated navigation bar with React and React-Spring

Collapse
markdreed512 profile image
Mark Reed

Thanks for the tut! I'm just curious why you would need to refactor to an App.js class component?

Collapse
nunocpnp profile image
Nuno Pereira Author

Today with hooks you dont need it, but when I made the tutorial i still used class based react components