Skip to content
This repository was archived by the owner on Jan 26, 2021. It is now read-only.

Conversation

@boopathi
Copy link
Contributor

When componentWillUpdate is triggered, the observe function gets called and the nextProps and nextState gets dropped even if changed

@andrewimm
Copy link
Contributor

Good catch.
The code in /lib is compiled from the source code in /src. Can you also fix it in the original source?

@boopathi
Copy link
Contributor Author

Sure!

…rwise, when componentWillUpdate is triggered, the observe function gets called and the nextProps and nextState gets dropped even if changed
@boopathi
Copy link
Contributor Author

I undid the change to lib/. The gulp lib task made a few more changes too. I guess you're running the task before a release. So leaving the lib unchanged.

andrewimm added a commit that referenced this pull request Apr 28, 2015
Fixes nextProps and nextState to observe when component updates
@andrewimm andrewimm merged commit e76d574 into parse-community:master Apr 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants