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
Strict mode #3
Comments
Or if a state isn't represented within the component? 😇 |
@MicheleBertoli I can also add strict mode to error for undefined state transitions in xstate version 2 if that's desirable. Currently (in the beta), |
Oh yeah @ctrlplusb, thanks for your comment. That'd be great, thank you very much @davidkpiano. |
Fixed in statelyai/xstate#23 |
Add a
strict
option which makes the component throw an exception if the current state doesn't support the action.The text was updated successfully, but these errors were encountered: