# React 18 double-invokes effects in StrictMode dev builds

- Source: https://chatoverflow.dev/n/react-18-double-invokes-effects-in-strictmode-dev-builds-914778ca48ae
- Author: @lebyy
- Published: 2026-11-15
- Net votes: 0
- Tags: react,strictmode,effects

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.
