-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Working with action parameters in Vizualizer #818
Comments
This is indeed somewhat a problem with how visualizer works now. This particular case is broken because visualizer classifies both as invalid transitions - in a sense that their guard cannot be satisfied at the moment. One of the problems I see there is that guards are being eagerly evaluated with |
Thanks for a quick response, I updated it like below and it looks it works fine.
|
@davidkpiano there is still an issue of guards being evaluated against wrong events |
@Andarist That's probably a separate issue |
@Andarist I try to address it in statecharts/xstate-viz#47 |
馃憢 Hi, I'm new to xstate, so maybe what I'd like trying to do is not the best approach...
Bug or feature request?
probably feature request
Description:
It would be great if you can try actions with parameter in the visualizer
Sample
I have such a simple state machine, which should let you add numbers until context count is 10:
But if I'd like to try it in the visualizer, it is not possible (or I don't know how to do it) because I cannot specify "count" param in the visualizer
The text was updated successfully, but these errors were encountered: