Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 749 Bytes

README.md

File metadata and controls

11 lines (6 loc) · 749 Bytes

Monorepo structure: sharing code between projects

With this, we are able to share code between ReactJS and React Native using react-native-web package.

This is adapted from Monorepo tutorial from Bruno Lemos.

Monorepo is powered by Yarn Workspaces and components sharing is powered by react-native-web.

We can also add other packages (like a package with basic logic) and share code even with a backend project.

Both ReactJS and React Native projects were started with its most common boilerplates (i.e create-react-app and react-native-cli).