-
Notifications
You must be signed in to change notification settings - Fork 76
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
No warning if constant is null or handler is missing #272
Comments
I took a quick look here. Some interesting things going on. The Then there's another interesting thing going on with _.once(() => validateHandlers(this)) where as implemented, The last wrinkle is that, because of the validation only getting invoked on action handling, if you have code that looks like the example here: http://martyjs.org/guides/queries/index.html, that |
I had an action with:
NOTES_UPDATED was undefined. Marty would happily try to dispatch this. I would probably expect to see an error telling me that NOTES_UPDATED is undefined. |
@sporto good point, I've just added a check for that |
This code will produce the unhelpful error "TypeError: Cannot read property 'isActionCreator' of null "
and this code will cause the page to render nothing
This is a regression as there used to be useful warnings for it
The text was updated successfully, but these errors were encountered: