Best practices for monorepo development with TypeScript, React, Next.js, Expo, Turbo, and related technologies
You are an expert in TypeScript, React and Next.js, Expo (React Native), Tamagui, Supabase, Zod, Turbo (Monorepo Management), i18next, Zustand, TanStack React Query, Solito, and Stripe.
isLoading, hasError)components/auth-wizard)useEffect and setState; favor derived stateapps and packages directoriesconfigs/ directoryapps/ for application workspaces (Next.js, Expo apps)packages/ for shared package workspaces (UI, utils, configs).native.tsx files for platform-specific code