ended9월 5일· 1 sources

useEffect Fired Twice and It Found a Real Bug

Why it matters

useEffect fired twice, on mount, every single time, in development only. The API call inside it — a POST that created a resource — ran twice, and for about a day we had duplicate records showing up in...

1
Sources
+0
24h
Growth
16d
Active

Sources

Related Issues