Reducer Sets Wrong State When React's Strict Mode is Enabled
Anyone know what's going on with my reducer? https://stackoverflow.com/questions/74463125/reducer-sets-wrong-state-when-reacts-strict-mode-is-enabled
Stack Overflow
Reducer Sets Wrong State When React's Strict Mode is Enabled
The newly updated state object returned from my reducer is wrong when I have reactStrictMode: true in mynext.config.mjs. Rather than rendering once, the component renders twice. The updated state o...
0 Replies