Closed theorlovsky closed 2 years ago
Please check if your PR fulfills the following requirements:
What kind of change does this PR introduce?
[x] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Build related changes [ ] CI related changes [ ] Documentation content changes [ ] Other... Please describe:
Issue Number: #24
{dispatch: false}
dispatchByDefault
true
checkAction
void
TypeError
[ ] Yes [x] No
--
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #24
What is the new behavior?
{dispatch: false}
now actually cancels a dispatch from an effect, even whendispatchByDefault
is set totrue
checkAction
doesn't throw an unexpected error ifvoid
was dispatched from an effect by mistake, now it throws the expectedTypeError
Does this PR introduce a breaking change?
Other information
--