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

Missing routes for stories #105

Open
BischlerBastian opened this issue Feb 13, 2023 · 2 comments
Open

Missing routes for stories #105

BischlerBastian opened this issue Feb 13, 2023 · 2 comments

Comments

@BischlerBastian
Copy link

I've found that switching between stories is primarily done by state and therefore not by a route or navigator.
It is important for us to have individual URLs for each story as we link them to our design system.

Could you please reintroduce named routes for each story?

Thank you very much for your great work.

@ookami-kb
Copy link
Owner

Hey, thanks!

Yeah, I removed the built-in support for URLs because they require a Navigator, which can conflict with stories (e.g. dialogs).

But you're right that this is a pretty standard use case. I'm thinking about creating some optional wrapper that would enable this functionality in exchange for some potential overhead for stories.

@BischlerBastian
Copy link
Author

That would be great. Thanks!

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

2 participants