github storybookjs/react-native v9.0.0

latest releases: v9.1.2-alpha.0, v10.0.0-beta.0, v9.1.1...
3 months ago

Try the latest version with

npx create-expo-app@latest --template expo-template-storybook@latest UniversalStorybook

or

npx @react-native-community/cli@latest init --template react-native-template-storybook@latest UniversalStorybook

To migrate an existing project

  • Update storybook dependencies to ^9
  • Rename .storybook to .rnstorybook (if you use .storybook for rn storybook config)

main changes

  • internal api changes to support v9 core restructuring
  • lite mode ui
  • custom ui support
  • remove prettier dependency
  • conditional args for controls
  • better support for storyNames
  • you can disable doc tools now if you need to

breaking changes

  • .rnstorybook is now the default config folder instead of .storybook to make it easier to have both reactjs and react native storybook alongside each other
    • if you want to keep the .storybook name or any other name you can still use the configPath option to override this.

What's Changed

New Contributors

Full Changelog: v8.6.2...v9.0.0

Don't miss a new react-native release

NewReleases is sending notifications on new releases.