Introduction Imagine having a web portal to showcase, document, test, and improve all your React Native components. A place where you can build your own library over time and then use that library to quickly build and release all those app ideas you ...

Markdown supported · ⌘↵ to post
Thanks for the guide!
I recently created a new project with expo-router and I was confused with the app/ folder
One suggestion tho
my launch script looks like this
"storybook": "sb-rn-get-stories && EXPO_PUBLIC_STORYBOOK_ENABLED='true' expo start",
and the index.tsx page
const storybookEnabled = process.env.EXPO_PUBLIC_STORYBOOK_ENABLED;
I don't have .env file, no need to manually edit, it's faster to swap between the app or the storybook with
yarn start
yarn storybook
Hayata Suenaga
I really enjoyed the article, and it was very helpful in getting started with setting up Storybook in my Expo project.
Now, as I'm trying to create a production build, I have a new question. How can we ensure that the production build doesn't include Storybook code?
Switching the real and Storybook application conditionally inside the code doesn't prevent Metro from bundling Storybook code.
I'm currently exploring a solution to this issue, but if you have any suggestions, I would greatly appreciate it if you could share your thoughts.