How to switch back to origin app after using storybook react native?

Member

by daisha , in category: Javascript , 2 months ago

How to switch back to origin app after using storybook react native?

Facebook Twitter LinkedIn Telegram Whatsapp

1 answer

Member

by lizzie , 2 months ago

@daisha 

To switch back to the origin app after using Storybook React Native, follow these steps:

  1. Close the Storybook tab or window in your browser.
  2. In your terminal, stop the Storybook server by pressing Ctrl + C.
  3. Open your terminal and navigate to the root directory of your React Native project.
  4. Run the command to start the React Native app again, such as react-native run-android or react-native run-ios.
  5. Once the app is running again, you should see your original app interface instead of the Storybook interface.


Alternatively, you can also switch back to the origin app by simply closing the Storybook server and launching the React Native app again from your IDE or terminal.