MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/reactjs/comments/11t3a63/introducing_reactdev_the_new_react_docs_site/jcjhy38/?context=3
r/reactjs • u/acemarke • Mar 16 '23
74 comments sorted by
View all comments
156
I found that the "You Might Not Need an Effect" page was a really helpful resource in understanding how React works.
https://react.dev/learn/you-might-not-need-an-effect
9 u/Saifadin Mar 17 '23 I habe to admit, that I made some of these mistakes just out of laziness. This is definitely an amazing resource for anyone in any level of experience 5 u/janaagaard Mar 17 '23 So did I. We're still finding old, unnecessary useEffects in our code base. Most of the team has fortunately understood when it's possible to avoid them, so we're catching this is code reviews now, and slowly weeding the remaining ones out.
9
I habe to admit, that I made some of these mistakes just out of laziness. This is definitely an amazing resource for anyone in any level of experience
5 u/janaagaard Mar 17 '23 So did I. We're still finding old, unnecessary useEffects in our code base. Most of the team has fortunately understood when it's possible to avoid them, so we're catching this is code reviews now, and slowly weeding the remaining ones out.
5
So did I. We're still finding old, unnecessary useEffects in our code base. Most of the team has fortunately understood when it's possible to avoid them, so we're catching this is code reviews now, and slowly weeding the remaining ones out.
156
u/janaagaard Mar 16 '23
I found that the "You Might Not Need an Effect" page was a really helpful resource in understanding how React works.
https://react.dev/learn/you-might-not-need-an-effect