Skip to content
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

xstate as a storybook addon? #30

Closed
mehdi-cit opened this issue Dec 13, 2017 · 4 comments
Closed

xstate as a storybook addon? #30

mehdi-cit opened this issue Dec 13, 2017 · 4 comments

Comments

@mehdi-cit
Copy link

Hello folks,
Was wondering if any here has some experience with storybook ? I'm just looking at it and I read it has a "plugin facility". It seems one can "easily" add such plugins and augment/improve the experience.
[https://storybook.js.org/addons/addon-gallery/]
Would it possible or even desirable to have an extra tab in storybook for instance to display the state machine chart? Maybe clicking on a state makes the machine transition to that state?
Any thoughts? Especially those of you who have some experience with storybook (I don't, just started playing with it few minutes ago). Would something like the above be really useful?

@davidkpiano
Copy link
Member

That would be neat! I don't have time to work on that but I can see that being really useful.

@do-wa
Copy link

do-wa commented Feb 12, 2018

I pulled together a small proof of concept storybook add-on for xstate and decided to make it public to find contributors and people who are interested in sharing their ideas and knowledge to (hopefully) make this project a valuable addition in the xstate ecosytem.

You can find the project here:
https://github.com/do-wa/xstate-addon

Please be aware that this project is at the very beginning but I plan to work on it on a regular schedule in my free time.

@parksj10
Copy link

parksj10 commented Apr 6, 2021

So it begins again! just for reference... as I start to implement very interested in storybook functionality for previewing based on current state

@SimeonC
Copy link
Contributor

SimeonC commented Apr 11, 2021

Just found this issue when looking through the v5 discussion. I'm open to moving my package into @xstate instead of being separate.

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

No branches or pull requests

5 participants