Loading

Quipoin Menu

Learn • Practice • Grow

react / Cleanup in useEffect
exercise
1/5
Exercise 1React
Question

Create a component that sets up an interval that logs a message every second. Use cleanup to clear the interval on unmount.