mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 21:01:08 +08:00
- Set `react` and `react-dom` as peerDeps for all `lib` packages needing them - Set `react` and `react-dom` as peerDeps + optional tag for all `addon` packages needing them - Set `react` and `react-dom` as regular deps for all non react apps - Remove `react` and `react-dom` from root `package.json` - Set a fixed version of `react` in all examples Also: - Use "^16.8.0 || ^17.0.0" version range as some packages need React Hooks
Storybook Addons
Storybook Addons is a node module which is used to load custom addons to storybook.
It stores addon loaders, communication channel and other resources which can be used by storybook implementations where required.
For more information visit: storybook.js.org