-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Support Storybook? #214
Comments
This would also make testing in Jest better, if you can have a way to mock features like useRouteData you could write Jest tests for specific components depending on Remix features |
React-cosmos works (kinda) out of the box. I got it working with the following steps:
You might need to add // @ts-ignore in the beginning of this file if using Typescript (you should).
|
I wrote a short tutorial about pairing React Cosmos with Remix if anyone is interested: https://dev.to/rzmz/react-cosmos-with-remix-7go |
A conversation was started by Ryan for Storybook support: #2481 |
Let's defer to that. We prefer to focus on discussions and PRs and keep issues to a minimum 👍 |
@rzmz here is my expansion on your remix + cosmos setup |
Hi, I'm following your instructions and I have an issue. After adding all the files you specified I get the following. This is the decorator, now sure if why by CustomApp is imported but never used.
|
@Alvacampos Please don't comment on closed issues asking for support. Create a new discussion instead 🙏🏼 |
@Alvacampos I havent figured about the constant poll. are you sure you whitelisted "localhost:5000" in |
I had someone helping me with my website and they started out using storybook, but eventually they gave up on it and here's what they said:
Just thought I'd share to see whether it's something y'all would consider supporting.
The text was updated successfully, but these errors were encountered: