DEV Community

Discussion on: 3 React Mistakes Junior Developers Make With Component State

Collapse
 
thawkin3 profile image
Tyler Hawkins

Ehh... sort of. Hooks are cool and solve a lot of problems and frustrations people have had with class components, but class components are here to stay, at least for now. It's very likely that any developer working on a codebase that existed before hooks were released will be dealing with class components, so it's still important to understand how state works with class components.