Replies: 1 comment
-
Can't tell you anything without at least a CodeSandbox , Github repo, or a Replay ( https://replay.io/record-bugs ) that shows us what your actual code is and what's going on. Also note that React re-renders recursively by default, so this component may already be re-rendering because its parent did: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello i would love some help with understanding a redux behavior.
I am using react-redux version
"7.2.8"
. I have a component that is using auseSelector
hook, the data returned from the selector does not change, but the component rerenders. When checking why, i see that a reducer inside the selector changes each time, and the number increments by one. Would really appricate help understanding what is this counter, why its incrementing and what i can do to solve it.Beta Was this translation helpful? Give feedback.
All reactions