loading...

re: 3 React Mistakes Junior Developers Make With Component State VIEW POST

FULL DISCUSSION
 

Mistake Junior React Devs make is using component classes instead of hooks and useState

 

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.

 

Just for you, I wrote a similar article now, but this time with function components and the useState hook. ;)

dev.to/thawkin3/3-mistakes-junior-...

Code of Conduct Report abuse