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

memoize renderedWrappedComponent separately to prevent this step from… #1234

Merged
merged 1 commit into from Apr 12, 2019
Merged

memoize renderedWrappedComponent separately to prevent this step from… #1234

merged 1 commit into from Apr 12, 2019

Conversation

vzaidman
Copy link
Contributor

@vzaidman vzaidman commented Apr 12, 2019

the following issue in my @welldone-software/why-did-you-render library:
welldone-software/why-did-you-render#18
discovered a small performance improvement possibility:

WrappedComponent should not be re-created for every state change. Instead it can be memoized separately.

@netlify
Copy link

netlify bot commented Apr 12, 2019

Deploy preview for react-redux-docs ready!

Built with commit 89afbec

https://deploy-preview-1234--react-redux-docs.netlify.com

@vzaidman
Copy link
Contributor Author

vzaidman commented Apr 12, 2019

initial https://github.com/reduxjs/react-redux-benchmarks results:

image

image

image

image

image

@markerikson
Copy link
Contributor

Thanks. Given that there's a few other things that have popped up too, I'd like to investigate a bit further over the weekend before pushing out a new release.

@timdorr
Copy link
Member

timdorr commented Apr 12, 2019

Well, I'm going to merge this in now.

@timdorr timdorr merged commit 8719eda into reduxjs:master Apr 12, 2019
@vzaidman vzaidman deleted the separate-wrapped-component-memoization branch April 12, 2019 18:06
webguru7 pushed a commit to webguru7/react-redux that referenced this pull request Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants