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

Use correct parameters for loadAsyncOptions #365

Merged
merged 1 commit into from
Aug 9, 2015

Conversation

bruderstein
Copy link
Collaborator

Fix for PR #360 / #355 (the two combined cause a potential issue)

If the cache is disabled, and the value is updated, the new options received
from the callback should be used for the display value, not the options from
state.options, as the state after the callback is stale (this.setState() has
been called, but won't have taken effect due to update batching)

Tests added.

Fix for PR#360 / PR#355 (the two combined cause a potential issue)

If the cache is disabled, and the value is updated, the new options received
from the callback should be used for the display value, not the options from
state.options, as the state after the callback is stale (this.setState() has
been called, but won't have taken effect due to update batching)

Tests added.
JedWatson added a commit that referenced this pull request Aug 9, 2015
Use correct parameters for loadAsyncOptions
@JedWatson JedWatson merged commit 1f72423 into JedWatson:master Aug 9, 2015
@JedWatson
Copy link
Owner

Sweet. This is what we needed to release 0.6.1 right? (ref #360)

@bruderstein
Copy link
Collaborator Author

Yep :-)

On Sun, 9 Aug 2015 06:37 Jed Watson notifications@github.com wrote:

Sweet. This is what we needed to release 0.6.1 right? (ref #360
#360)


Reply to this email directly or view it on GitHub
#365 (comment)
.

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.

2 participants