Skip to content

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 [email protected] 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