r/reactjs • • Mar 16 '23

Introducing react.dev: the new React docs site!

https://react.dev/blog/2023/03/16/introducing-react-dev
566 Upvotes

74 comments sorted by

View all comments

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

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.