question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Stories doesn't include name when embedding CSF

See original GitHub issue

Describe the bug Connected to #11752, Story component doesn’t include ‘name’ prop automatically when using <Story story={stories.basic} /> syntax, which causes storybook to fail with Invalid name '', must include alphanumeric characters error. When ‘name’ prop is added manually everything is working.

cc @shilman

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
shilmancommented, Aug 15, 2020

Yo-ho-ho!! I just released https://github.com/storybookjs/storybook/releases/tag/v6.0.9 containing PR #12044 that references this issue. Upgrade today to try it out!

Closing this issue. Please re-open if you think there’s still more to do.

0reactions
shilmancommented, Aug 15, 2020

On further inspection, this works:

<Story story={MyStories.Basic} />

This doesn’t:

<Canvas>
  <Story story={Other} />
</Canvas>

Fix coming soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to embed mdx/md documents within mdx doc ... - GitHub
Describe the bug. An error is received when attempting to embed markdown documents within a doc page story (mdx file).
Read more >
MDX - Storybook
MDX-flavored Component Story Format (CSF) includes a collection of components called "Doc Blocks", that allow Storybook to translate MDX files into ...
Read more >
Couldn't find story matching 'components-button--page'
Something that storybook's documentation doesn't seem to mention is a few important bits: <Story/> component must have a name property with ...
Read more >
Katie's spinal CSF leak story
Confused, Katie sought another opinion from a different doctor who told her she did, in fact, have a spinal CSF leak—but since she'd...
Read more >
AFM Specimen Collection Instructions - CDC
CDC will conduct routine testing and typing of CSF, respiratory specimens and stool ... send an email regarding what is being shipped and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found