-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
remove actions from props #45
Comments
also, you could then read state from stores when calling |
thinking more, anyone could implement any action creator system on top of this. promises, observables, etc. [it's starting to look like cycle, but more accessible] |
cc @acdlite who was also rethinking Redux. Indeed, I want to move this action creator <-> dispatch thing out of the core. |
This is done now in #46, let's discuss there. |
Wow lots going on there. I want to hack on a project tonight with this, will come back with thoughts. Cheers. |
Out in 0.8.0 |
Was wondering how you handle clashing action and store names in containers. But it also strikes me that since actions are just functions without a current state, they don't have to be passed down from the top. Instead, as long as the dispatch function is available as a prop, you'll still be able to do full dispatches. to explain, instead of -
you could do
alternately
but I'm not clear on the benefits (scheduling?)
This would clear up the name clash problem, and make it more 'primitive', if that make sense.
The text was updated successfully, but these errors were encountered: