React + Vite + TypeScript project structure guidance for creating, organizing, refactoring, or migrating frontend apps. Use when Codex needs folder architecture, feature-module boundaries, TanStack Router file-based route modules, hierarchical route-facing pages, platform-dependent service implementations, dependency injection, typed Result/DomainError handling, form ownership and validation with React Hook Form/Zod, UI loading/error/empty states, web/Tauri/mock services, composite/routed services, generated code placement, OpenAPI codegen organization, shadcn/ui and Tailwind placement, Storybook stories and UI testing strategy, i18n provider/resource architecture, typed translation keys, locale handling, RTL/document metadata, shared/core conventions, path aliases, naming rules, common types, feature scaffolding workflow, testing strategy, state management choices, code quality tooling, documentation templates, or migration checklists for React/Vite projects.
2026-06-08