Skip to content

Starter kit for code-sharing between CRA and ejected CRNA

Notifications You must be signed in to change notification settings

cheshirecode/cra-rni-monorepo

Repository files navigation

cra-rni-monorepo Build Status

All Contributors

Set up CRA and barebone RN in the same monorepo as a code-sharing experiment for future boilerplates. Followed the great guide at https://medium.com/viewstools/how-to-use-yarn-workspaces-with-create-react-app-and-create-react-native-app-expo-to-share-common-ea27bc4bad62 and:

Howto

  • Clone/fork the repo
git clone git@github.com:cheshirecode/cra-rni-monorepo.git
cd cra-rni-monorepo
  • Run yarn once to grab all dependencies.
  • Start web development build yarn start:web.
  • Run the RN bundler yarn start:bundler.
  • Run the RN iOS/Android simulator yarn start:ios or yarn start:android.
  • Edit some files in core folder and see the magic!

Contributors

Thanks goes to these wonderful people (emoji key):


cheshireCode

💻 ⚠️

This project follows the all-contributors specification. Contributions of any kind welcome!