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
In React version 18, useReducer will re-render even if the reducer returns the same state. This is triggering re-renders when using the createSelectorHook.
In React version 18, useReducer will re-render even if the reducer returns the same state. This is triggering re-renders when using the
createSelectorHook
.React Issue: facebook/react#24596
I think the workaround will be to use
useState
instead.The text was updated successfully, but these errors were encountered: