hydrateio / docz-plugin-storybook

Docz plugin that makes migrating from Storybook a breeze.
76 stars 1 forks source link

Add support for storybook addons #9

Open transitive-bullshit opened 5 years ago

transitive-bullshit commented 5 years ago

Ideally, addons like readme and knobs should "just work," but for addons requiring custom UI or functionality, we should at least have an FAQ entry that addresses them.

I think that addons will currently not break anything and just be a no-op, but this needs testing.

transitive-bullshit commented 5 years ago

Update: most addons currently break when using this plugin since they expect to communicate over a channel with the storybook client-side addon manager. Since this doesn't exist in our shim, some stories which use addons result in thrown errors that prevent the storybook JS from fully loading.

transitive-bullshit commented 5 years ago

Update: basic addon support works as of #18. This means that afaik no addon will cause docz to throw an error / crash.

The next step is to add support for addon panels.