-
Notifications
You must be signed in to change notification settings - Fork 11
Stale-props-free useSelector #43
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
Conversation
react-redux-benchmarks result
Why is the last one failed? |
useReducer needs to read state always from context. fixed in cbfad09 with spec. |
Hmmm, it doesn't work. Oh, context is not updated yet when calling update... 🤔 My observation is that reducer can't read the future context. |
Okay, I conclude this approach doesn't work with changedBits=0. React will never trigger re-renders... I will run benchmarks with reduxjs/react-redux#1505. |
reduxjs/react-redux#1505
Trying the same for reactive-react-redux. The code is very different because rrr is based on state context.