-
Notifications
You must be signed in to change notification settings - Fork 297
Check type of payload creator #129
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
Conversation
With the increase of checks and errors, I'd suggest to use invariant. It is already optimised for development and production with checking We can start to using it in this PR and open a new PR for all other errors. |
Using Can you explain the behavior when From my point of view the main benefit is reducing the boilerplate of throwing errors on certain conditions. |
For the |
@timche is it possible to change the base branch to |
Yes, I changed it. |
|
LGTM! |
This takes care of the first example in the
createAction
spec outlined here.This contains breaking changes, so it might be worth including in #122.