Skip to content

Conversation

@mboudraa
Copy link
Owner

check if the state that tries to dispatch an action is the current state.
dispatchAction returns true is the dispatch is successful, false otherwise

fix #5

@mboudraa mboudraa force-pushed the 5_prevent_states_to_dispatch_action_if_not_current_state branch from c0b5ea1 to a4d1481 Compare December 28, 2018 16:39
@mboudraa mboudraa merged commit 449d068 into master Dec 28, 2018
@mboudraa mboudraa deleted the 5_prevent_states_to_dispatch_action_if_not_current_state branch December 28, 2018 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

States can dispatch actions even when the current state is not the same

2 participants