Skip to content

ComponentWillReceiveProps is called many times with apparently identical props #3770

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

Closed
shaimo opened this issue Apr 28, 2015 · 1 comment
Closed

Comments

@shaimo
Copy link

shaimo commented Apr 28, 2015

Unless I'm missing something, this shouldn't happen. E.g. here is a printout from my app:

In MasonryMixin:WillReceiveProps. New={"store":"ObjStore","items":[],"users_store":"UsersStore","infinite":false,"initialPage":1,"offset":250}
Old props={"store":"ObjStore","items":[],"users_store":"UsersStore","infinite":false,"initialPage":1,"offset":250}

How can I make sure this doesn't happen?
Thanks!

@sophiebits
Copy link
Collaborator

This is expected; see #3610.

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

No branches or pull requests

2 participants