-
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
Create store failed when use handleActions with empty reducerMap #202
Comments
I think this is a usage issue. Why is your reducer map empty? It should at least declare an action. |
I don't think this issue should've been closed. handleActions should not break if it gets an empty object as first parameter. But currently it breaks because in this case it does not return the initial state anymore. To me this is clearly a bug. |
Good point. PR welcome. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a
todosReducer
:Error message:
The text was updated successfully, but these errors were encountered: