We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the waitFor method is pretty much the same as the stock Facebook one:
waitFor
this.waitFor([ AStore.dispatchToken, OtherStore.dispatchToken ])
I'd like to make the dispatcher entirely an implementation detail. The waitFor method can extract the dispatcherTokens itself.
dispatcherToken
To me, this reads much nicer:
this.waitFor( AStore, OtherStore)
Or, if you feel strongly about passing an array instead of iterating the arguments:
this.waitFor([ AStore, OtherStore ])
What do you think? I'd be happy to create a PR if it's something you think fits with alt's vision of Flux.
The text was updated successfully, but these errors were encountered:
That sounds good. If we can make it backward compatible I'm all about that PR.
Sorry, something went wrong.
No branches or pull requests
Currently the
waitFor
method is pretty much the same as the stock Facebook one:I'd like to make the dispatcher entirely an implementation detail. The
waitFor
method can extract thedispatcherToken
s itself.To me, this reads much nicer:
Or, if you feel strongly about passing an array instead of iterating the arguments:
What do you think? I'd be happy to create a PR if it's something you think fits with alt's vision of Flux.
The text was updated successfully, but these errors were encountered: