EpicReact.dev

Welcome to the EpicReact.dev Workshop app!

This is the deployed version. Run locally for full experience.
Join EpicReact.devβ†—οΈŽLogin
22
DOM Side-Effects β€” Primitive Dependencies
22

04. DOM Side-Effects/03. Primitive Dependencies (🏁 solution)

Primitive Dependencies

β–ˆ<
Loading "Primitive Dependencies (🏁 solution)"
β–ˆ<
Primitive Dependencies (🏁 solution) β†—οΈŽ
Run locally for transcripts
πŸ‘¨β€πŸ’Ό This is probably one of the more annoying parts about dependency arrays. Luckily modern React applications don't need to reach for useEffect for many use cases (thanks to frameworks like Remix), but it's important for you to understand.
← PreviousNext β†’
Edit on GitHubEdit this page on GitHub
playgroundproblemsolutiontestsdiffchat
β–ˆ<
Loading "Primitive Dependencies"
β–ˆ<