Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

useSelector is returned a different result when called with the same parameters in IdWidget. #6449

Closed
iFlameing opened this issue Oct 29, 2024 · 0 comments · Fixed by #6450
Closed
Assignees

Comments

@iFlameing
Copy link
Member

Bug in console due to IdWidget useSelector.

Selector unknown returned a different result when called with the same parameters. This can lead to unnecessary rerenders.
Selectors that return a new reference (such as an object or an array) should be memoized: https://redux.js.org/usage/deriving-data-selectors#optimizing-selectors-with-memoization {
@iFlameing iFlameing self-assigned this Oct 29, 2024
@iFlameing iFlameing changed the title useSelector is returned a different result in IdWidget. useSelector is returned a different result when called with the same parameters in IdWidget. Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant