React.useEffect() is one of the React hooks that manages side-effects in functional React components. You can do so much by writing so little with ...
For further actions, you may consider blocking this person and/or reporting abuse
Great article!
useEffectcan be used in so many ways - I've also started usinguseLayoutEffectfor certain things.Also: something I learnt recently, if you add
javascriptto your code blocks you will get syntax highlighting 🥳 dev.to/hoverbaum/how-to-add-code-h...Works for GitHub markdown as well. You can use javascript or just js or even jsx or graphql
Thanks @rmorse . Just edited my post after reading your blog. It was amazing.
Look great!
Btw the article I linked was by someone else, I just read it recently when writing my first dev.to post 😃
Sorry, I didn't see that😅. Anyway, you are the one who helped me get in touch with the article. Thanks for that.
Does useEffect dependencies watch nested object changes ?
I just want to understand whether its deep check or ref change check.
Hey @ashvin777 , have a look here dev.to/aileenr/til-you-can-watch-f...
Ok basically its ref checm
Great, I always like to read detailed articles like this
Thanks @dhanbycode .
Great 👍
Thank you @saroj8455