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.
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
anduseEffect
are the core part of hooks.Yeah, you are right. I too use hooks mostly over the classes in my projects.