design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Turn on storyStoreV7 in Storybook

Open jpveooys opened this issue 3 years ago • 2 comments

This speeds up Storybook loading time.

See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-the-v7-store

And https://storybook.js.org/blog/storybook-on-demand-architecture/

To turn on add this to .storybook/main.js:

  framework: '@storybook/react',
  features: {
    storyStoreV7: true,
  },

jpveooys avatar Feb 02 '22 16:02 jpveooys

Pausing this for now as there are currently some drawbacks from using this. However, a working version of it is on this branch:

https://github.com/defencedigital/mod-uk-design-system/tree/docs/storybook-story-store

jpveooys avatar Mar 10 '22 15:03 jpveooys

This issue has been marked as stale because it has been open for 60 days with no activity

github-actions[bot] avatar May 16 '22 01:05 github-actions[bot]