A senior engineer’s phase-by-phase playbook for setting up a production-ready React + TypeScript frontend: structure, Vite, pnpm, strict TypeScript, ESLint, TanStack Query, Vitest, Playwright, CI/CD, and observability.