Effects With useEffect
Effects let a component synchronize with things outside React: timers, the browser window, subscriptions and network requests. Learn when effects run, the dependency array, cleanup functions and the common mistakes to avoid.
Lesson 16 of 28