Frontend Development ยท React
What is a common mistake with useEffect and side effects in React?
Common mistakes include using effects for values that could be computed during render, omitting dependencies, creating infinite loops, and forgetting cleanup for subscriptions or timers.