This is the source code from this tutorial.
Requirements: React Native (last tested on [email protected])
$ git clone [email protected]:brunolemos/react-native-web-monorepo.git$ cd react-native-web-monorepo$ yarn$ cd packages/mobile/ios$ pod install$ cd -$ yarn workspace web start$ yarn workspace mobile start- Run the project
- [iOS] Via Xcode
yarn xcode(open the project on Xcode)- Press the Run button
- [Android] Via Android Studio
yarn studio(open the project on Android Studio)- Press the Run button
- Via CLI
- You may need to launch your device emulator before the next command
$ yarn androidor$ yarn ios
- [iOS] Via Xcode
Follow me on Twitter: @brunolemos
Check out DevHub. The main difference is that it supports Desktop (Electron) in addition to Web, iOS and Android.






