2
You can use the Expo CLI to create a local server and run the app on a browser.
1. Install the Expo CLI by running the following command in your terminal:
npm install -g expo-cli
2. Create a new React Native project by running the following command in your terminal:
expo init myapp
3. Navigate to your project directory and start the local server by running the following command:
cd myapp
expo start --web
4. This will start the Expo development server and open a browser window with your app running on `http://localhost:19006/`.
If the browser doesn't open automatically, you can open it manually and navigate to `http://localhost:19006/`.