design-system
design-system copied to clipboard
Turn on storyStoreV7 in Storybook
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,
},
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
This issue has been marked as stale because it has been open for 60 days with no activity