React-native storybook without dev. server

Viewed 556
2 Answers

yes, you can render the react-native storybook in the app without any webpack dev server

you need to install @storybook/react-native package and follow the Docs

here is an example project: https://github.com/nomi9995/expo-storybook-boilerplate.git

  1. clone above boilerplate
  2. install node_modules by yarn or npm install
  3. run storybook app by yarn start or expo start
  4. then press i to open app on ios simulator

enter image description here

Related