useEffect Fired Twice and It Found a Real Bug
DEV Community
useEffect Fired Twice and It Found a Real Bug
A duplicate database insert traced back to React 18 Strict Mode's deliberate double-invocation of effects in development, and why that behavior is a feature, not noise to suppress.
0 comments
No comments yet.