-
Notifications
You must be signed in to change notification settings - Fork 29
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
Adding more than one store to repo causes errors when actions are pushed #133
Comments
Oh I bet I know what's happening... We probably need to get rid of this error. The trouble is that Also, this probably shouldn't be an error -- just a warning. I'll patch this up. |
Also worth noting, that this is an unexpected side-affect of adding |
Before this commit, there was an error in the way stores report missing handlers. They would check for `undefined` within the `register()` function, however actions now have extra states that are referenced as properties. We can no longer make this check when dispatching. One alternative would be to use a Proxy. In the meantime, this commit removes the warning and reduces another error to a warning. Fixes #133
Before this commit, there was an error in the way stores report missing handlers. They would check for `undefined` within the `register()` function, however actions now have extra states that are referenced as properties. We can no longer make this check when dispatching. One alternative would be to use a Proxy. In the meantime, this commit removes the warning and reduces another error to a warning. Fixes #133
This is probably another PEBKAC error, but I'm having trouble in my app as soon as I add a second store to the repo with Microcosm v10.0.0-beta3:
Results:
When I comment unused
addStore
calls, the problem clears up.Code:
The text was updated successfully, but these errors were encountered: