DEV Community

Discussion on: How to learn React - The Effective way

Collapse
miketalbot profile image
Mike Talbot

Nice article, I'd only say - I started coding React 2 years ago and I've never written a class based Component, only ever Hooks. So I'd say Hooks are now a basic requirement and the big complexity of class components is only necessary if you are maintaining someone else's code base. For me useState and useEffect are the core part of hooks.

Collapse
shaan_alam profile image
Shaan Alam Author

Yeah, you are right. I too use hooks mostly over the classes in my projects.