You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
I just found our lib doesn't pass tests with latest build (unreleased ones). pmndrs/jotai#1370
React version: 18.3.0-next-3d443cad7-20220823
Steps To Reproduce
Link to code example: https://codesandbox.io/s/focused-andras-p9qyxu?file=/src/App.js
The current behavior
Warning in StrictMode.
The expected behavior
No warning in StrictMode.
#25049 seems related. I'm not sure if it's a bug or a misusage.
The text was updated successfully, but these errors were encountered: