-
Notifications
You must be signed in to change notification settings - Fork 63
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
Browser DevTools? #30
Comments
I'd like to start this effort soon! |
Really happy to see that more people are interested in this! let's make it happen. |
Out of curiosity, how does this gonna work in the end as you would provision? |
Not OP, but I'm also interested in developing this, and personally my first target is UI development. I'm thinking to re-use this In terms of the implementation, the XState interpreter currently checks for existence of I'll have to dive in a bit more sometime in order to get a more comprehensive look though. |
Thanks @amitnovick for the elaboration. So you imagine while the program is running, you get to see the inner states of the statechart in the devtools, which probably also come with a nice visualization by the side? |
Yep, that functionality comes out of the box with XState-Viz. |
This is coming very soon! Here's 🎞️ sneak peek video showcasing the capabilities of the current proof of concept that I had "fun" developing during the past week (developing Chrome extensions is horrible, but this time worth it?) |
I'm adding a list selection UI for letting users choose which service to visualize among all currently running ones (rather than just assuming there's just one running service like it does now). In my mind that's a necessary feature that all of us who have used the Redux DevTools extension come to expect. Edit:Actually after re-thinking this, I think this feature can wait. |
STATUS: Now available!. note: will only work with the latest XState version: Roadmap
Feature Requests:
|
😅 Hope you'll like to hear some update on this:
Here's a short test I did to see that the UI is being updated correctly when a service is stopped 🎞️ Twitter video (because GitHub doesn't support videos) |
Today's progress:
Really happy with it at this point! almost at feature-parity with the existing Redux DevTools alternative: the only feature not present is the diff of state of every event that has been processed. |
@amitnovick, is there anywhere I can get hold of a code? I'm happy to use it in this 'state' pun intended. Looking good. |
Glad to see more people are excited about this as I am! 😀 The code's on my repo here. By the way, I haven't really announced it yet, but I actually published the extension in the past few days and it is now available on the Chrome Web Store 🎉 (should probably be announced together with the rest of the changes for Use the latest Quick DemonstrationIf you wanna play around with it as easily as possible, I would suggest:
[1] - CodeSandbox seems to be doing something strange that glitches it, will look into this later |
First of all, thanks for creating this site, it makes xstate so much enjoyable to use 😄
I was thinking of browser devtools (something like redux devtools) version of this, and planning to dive in to figure out how to do that.
Are you aware of any such effort or is it already implemented by someone?
The text was updated successfully, but these errors were encountered: