Skip to content

v0.4 Query string support

Choose a tag to compare

@usulpro usulpro released this 17 May 16:17
· 54 commits to master since this release

Added support for Storybook query params:

selectedKind - to select a chapter
selectedStory - to select a story

It means that when you refreshing the page you'll stick with the current chapter/story and you can store the links for pointing to the needed place in your storybook. It's the same behavior as in normal Storybook.

example

to enable this option you need to register this addon:

//addons.js:

import 'storybook-chapters/register';