How to swap between React Native Storybook 10 and your app
dev.to·2d·
Discuss: DEV
📝Neovim
Preview
Report Post

Back in 2023 I wrote a post with a very similar title

It’s been a while since I first wrote the original post on this topic, and I was quite surprised with how many people actually found that useful.

That original post has now become quite outdated though and I want to revisit this topic to show how much easier it is to do this now. Also how you can ensure that nothing leaks into your production bundle.

Whats changed?

A few different things happened that make the process simpler today.

Built in support for envs on Expo

At the time of the original post there wasn’t a built in solution for environment variables on expo and we made use of expo constants. This works but requires a few more steps.

[https://docs.expo.dev/guides/environment-variables](https://docs.expo.dev/g…

Similar Posts

Loading similar posts...