Code sharing between iOS, Android & Web using monorepo
This is the source code from this tutorial.
Tech Stack: TypeScript v4, React Native v0.63, Next.js v10 & Create React App v4. Prettier and ESLint are also configured as pre-commit hooks.
$ git clone [email protected]:brunolemos/react-native-web-monorepo.git
$ cd react-native-web-monorepo
$ yarn
$ yarn workspace web-cra start
$ yarn workspace web-nextjs dev
$ cd packages/mobile/ios && pod update && pod install && cd -
$ yarn ios
$ yarn workspace mobile start
yarn xcode
$ yarn android
$ yarn workspace mobile start
yarn studio
Check out DevHub, which is the project that inspired this repository.
Follow me on Twitter: @brunolemos