Every cross-platform JavaScript team hits the same crossroads: you have a Next.js web app and an Expo mobile app, both written in TypeScript and React. On paper, putting them in a monorepo and sharing 90% of the codebase sounds like an obvious win.
In practice, chasing maximum code sharing between web and native is one of the fastest ways to slow down both platforms. After building and maintaining cross-platform products with Next.js and Expo, I have found that the sweet spot is not "share everything" it is sharing logic aggressively and sharing UI conservatively .
What You Should Always Share
1. Validation Schemas and Domain Types
Sharing Zod schemas, TypeScript interfaces, and API response contracts in a packages/shared workspace has virtually zero downside. When a backend payload changes, both your Next.js Route Handlers and your Expo screens fail at compile time instead of in production.
2.…