{"repo":"byCedric/expo-monorepo-example","free":true,"listed":false,"github":"https://github.com/byCedric/expo-monorepo-example","clone":"git clone https://github.com/byCedric/expo-monorepo-example.git","description":"Fast pnpm monorepo for cross-platform apps built with Expo / React Native.","language":"TypeScript","stars":996,"topics":["expo","monorepo","pnpm","react-native","turborepo","react"],"license":"MIT","category":"mobile-apps","readme_excerpt":"Expo monorepo Fast pnpm monorepo for cross-platform apps built with Expo Why is it fast? &ensp;&mdash;&ensp; How to use it &ensp;&mdash;&ensp; Structure &ensp;&mdash;&ensp; Workflows &ensp;&mdash;&ensp; Caveats & Issues ⚡ Why is it fast? This repository uses both pnpm and Turborepo to speed things up, by a lot . With pnpm, we leverage the installation performance using the global store cache. Turborepo helps us to run certain tasks, and cache the result if we rerun tasks with the same input or code. In the workflows we cache the pnpm store and Turborepo cache using GitHub Actions built-in cache, resulting in the best performance possible. What about Metro? In apps/example we leverage the Metro cache to speed up building and publishing. We use Turborepo to restore or invalidate this cache. To populate this Metro cache, the apps/example has a $ pnpm build script that exports React Native bundles. The resulting Metro cache is then reused when publishing previews or deploying the app with EAS Hosting. ℹ️ Should I use it? This repository demonstrates a working stack using Expo in a fast monorepo, while sharing most of the codebase with web. The primary goal of this repository is to showcase what is possible with Expo while keeping the code as \"vanilla\" as possible. Feel free to use this repository however you prefer, but when starting a project from scratch, consider a template with more assumptions. Those assumptions should help you develop your project faster than this repositor","default_branch":null,"files":null,"tree":[],"storefront":"/r/byCedric","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/byCedric/expo-monorepo-example/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}