DEV Community

Discussion on: I'm a noob at ReactJS and made this 😅

vberen profile image
Nicklas Wessel • Edited on

Looks great :)
Is there any reason you don't use functional components instead?

My suggestion would be to focus on that -
Personally when I made the switch from class components to functional components, was such a huge difference for me. I suddenly felt productive writing components.

States and lifecycle methods suddenly became very easy to master and very fast to write.

The same component can suddenly be halv the amounts of code line.

braydentw profile image
Brayden W ⚡️ Author


Simply for what I’ve mainly learned has been class components. I’ll try using functional components mainly in my next project.

Thanks for the suggestion!