Content
@
0 reply
0 recast
0 reaction
Tommy🎩
@tomasp1189
I remember how excited I was when React hooks were released. I was tired of class components and their lifecycle methods. Now, I sort of miss them. Having worked on large-scale React projects, I've found myself dealing with some insane useEffect messes. This helped: https://react.dev/learn/you-might-not-need-an-effect
2 replies
0 recast
6 reactions
russ
@russ
I'm definitely guilty of making some awful useEffect messes 🙋🏻♂️ Reading this now to try to change my ways
1 reply
0 recast
1 reaction
Tommy🎩
@tomasp1189
So am I! This helped a lot!
0 reply
0 recast
1 reaction