An experiment to see how much code sharing can be achieved across a Yarn workspace using React Native Web, SSR via NextJS for web, mobile apps using React Native, and Electron for desktop
yarn
in root to install dependenciescd packages/web && yarn dev
cd packages/mobile && yarn ios && yarn android
- unable to share components from
common
inweb
due to transpilation errors (cannot find internalreact-native
modules) - works fine if you develop components in web package for now