-
Notifications
You must be signed in to change notification settings - Fork 300
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
Allow nested reducers in handleActions #215
Labels
Comments
ping |
That sounds reasonable; feel free to take a shot at a pull request. I would ask that you preserve backwards-compatibility as well. I believe the key algorithm is already in this library. What do you think of taking up this work yourself? |
Not sure if I'm up to the task, I have little experience with JS =/ |
@zcei @yangmillstheory Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It was really surprising for me that
createActions
can handle nested objects whilehandleActions
can't. I think this example looks very natural and readable:But it doesn't work. Instead
reducer
must be:My IDE autocompletes with first example and doesn't with the second.
Would it be possible to allow such nested structures in
handleActions
?The text was updated successfully, but these errors were encountered: