Launching the React Native and Expo apps
- Let's test out the web version first by entering the
yarn webcommand in a Terminal:
- A browser will open. It will start the metro builder and compile the web version of the app:
- Once the compilation is complete, a new tab will open in your browser automatically. You will see that the app is running, as shown in the following screenshot:
As you can see, the styling of the Expo and React Native apps has been optimized for mobile, so the button and the input fields have been stretched across the screen. If you want to make this look nicer, you can add a fixed width for the button and input fields. Let's press Ctrl + C in...