MDX links to stories should use Storybook API instead of doing a full refresh.
See original GitHub issueIs your feature request related to a problem? Please describe. The current version of MDX linkings support links to other stories though full refresh.
This is quite slow and doesn’t leverage existing Storybook API.
Describe the solution you’d like
MDX linkings should emit a SELECT_STORY
event to navigate to another story.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:31 (25 by maintainers)
Top Results From Across the Web
MDX - Storybook
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >MDX Format - Storybook - JS.ORG
MDX is the syntax Storybook Docs uses to capture long-form Markdown documentation and stories in one file. You can also write pure documentation...
Read more >Frequently Asked Questions - Storybook - JS.ORG
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >Configure Storybook
By default, Storybook will load stories from your project based on a glob (pattern matching string) in .storybook/main.js that matches all files in...
Read more >Actions - Storybook - JS.ORG
You can use argTypes to tell Storybook that an arg to your story should be an action. Usually, it makes sense to do...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Tried those two and both work (there is a story in the storyStore for the docs only afaics) :
Any news on this?
I just tried to link to a documentation page
and it causes Storybook to load this URL:
which results in a completely blank page and a console error: