0

I am using React Native, but I don't know how to run it in a browser, I tried searching in google but I didn't find anything, please give me a suggestion on how to run a react native in a browser

3
  • 1
    What do you mean running in a Browser? React Native is for Mobile Development, so you would need something like Android Studio to run a Mobile Emulator. Maybe you want to run normal React instead? What is your goal? Commented May 22, 2020 at 9:35
  • Actually I am interested in this question as well. I have made a react native app myself and I'd like to include it into my portfolio, which is a website. Maybe the OP has a similar goal. There's snacks.expo.io but it doesn't work for my app. OP, why do you want to run it in a browser? If you're just wanting to see how your app appears live, you can simply use expo and show it on a simulated phone, or even on a real phone that runs the expo app. If you want to show it to the world, it's a bit more difficult.You can see if snack.expo.io works for you, but if it doesn't, it'll be tricky Commented May 22, 2020 at 9:40
  • Does this answer your question? Can React Native apps be tested in a browser? Commented Jan 5, 2022 at 12:42

1 Answer 1

0

No, React Native can be tested only in mobile simulators like IOS and Android.

Using Expo you can run the app in your mobile using expo app(https://expo.io). It syncs using QR code.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.