Closed mkotar closed 8 years ago
I am not able to dispatch anything in my actions
Uncaught (in promise) TypeError: this.dispatch is not a function(…)
example: setData(data) { this.dispatch(data); }
also i am not able to call any action from another action by using this.actions.someAction
and when action doesn't dispatch anything i get this: ReferenceError: An action was called but nothing was dispatched(…)
https://github.com/goatslacker/alt/blob/master/CHANGELOG.md#breaking-changes
There's an upgrade guide there too.
Thanks!
I am not able to dispatch anything in my actions
Uncaught (in promise) TypeError: this.dispatch is not a function(…)
example: setData(data) { this.dispatch(data); }
also i am not able to call any action from another action by using this.actions.someAction
and when action doesn't dispatch anything i get this: ReferenceError: An action was called but nothing was dispatched(…)