Skip to content

devagul93/react-native-web-monorepo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Native [Web] + Monorepo

100% code sharing between Web, iOS and Android

This is the source code from this tutorial.

article-cover

How to run

  • $ git clone git@github.com:brunolemos/react-native-web-monorepo.git
  • $ cd react-native-web-monorepo
  • $ yarn
  • $ yarn workspace mobile start
  • Run the project
    • Via Xcode / Android Studio
      • Open Xcode / Android Studio and press the Run button
    • Via CLI
      • Open a new terminal tab
      • $ cd packages/mobile
      • $ npm un -g react-native-cli
      • $ npm i -g @react-native-community/cli
      • $ react-native run-ios or react-native run-android

Author

Follow me on Twitter: @brunolemos

Who is using this on production

Check out DevHub. The main differences are that it shares TypeScript code instead of JavaScript and also supports Desktop in addition to Web, iOS and Android.

DevHub Desktop

DevHub Menubar

DevHub Mobile - Notifications DevHub Mobile - Notification Filters DevHub Mobile - Events DevHub Mobile - Event Filters


About

Code sharing between iOS, Android & Web using monorepo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Objective-C 32.5%
  • JavaScript 25.8%
  • Python 16.3%
  • HTML 13.0%
  • Java 11.2%
  • CSS 1.2%