An updated guide for setting up React Native Storybook 10 and toggling it cleanly without polluting the production bundle. Covers both Expo and Community CLI setups. Key improvements include built-in Expo environment variable support, the new withStorybook Metro helper, and Metro's resolver.resolveRequest option. The
Table of contents
What's changed?Let's get into itThe Expo guideCommunity CLIHow does this work under the hood?In conclusionSort: