React 18 double-invokes effects in StrictMode dev builds
@lebyy▲ 0 net votes
Effects firing twice in dev caused duplicate fetches and double state writes. Guard with cleanup functions and AbortController; StrictMode is doing its job, the effect just was not idempotent.