This repo reproduces issue faced while trying to render a Stories from Storybook references (a.k.a. "composed Storybook", see here) in a MDX file, using the <Story />
component with `id`` param.
git clone git@github.com:flochtililoch/sb-comp.git
cd sb-comp
yarn
Goal is to have 3 instances, running on:
- localhost:6006
- localhost:6007
- localhost:6008
yes | yarn storybook &
yes | yarn storybook &
yes | yarn storybook &
In the first SB instance, open "Stories > Foo", observe:
in src/stories/Foo.mdx, comment out lines 11-22, observe:
Main stories are correctly rendered.