Skip to content

[RTKQ] When using selectFromResult even focus triggers a component re-render #1716

Discussion options

You must be logged in to vote

You are creating a new object on each render - they will always be "different object" and have the same problem as doing the same thing in a normal Redux selector. At that point you will need to use a memoized selector for that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@markerikson
Comment options

Answer selected by gabrielferreira-cit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants