react-spa
v0.1.0curatedCore React SPA architecture — TypeScript, Vite, component patterns, folder structure, no barrel files, no path aliases.
archgate adr import packs/react-spaDecisions (7)
To ensure consistency and maintainability across the project, we must standardize on a primary programming language.
Modern web applications require a frontend framework that supports complex, stateful workflows and rich data interactions.
Modern frontend applications require a build tool to transform TypeScript and JSX into browser-compatible JavaScript, bundle modules for production, provide hot module replacement during developmen...
React components can be categorized into two types based on their responsibilities.
Barrel files (also known as index files or re-export files) are `index.ts` or `index.tsx` files that re-export modules from a directory, allowing shorter import paths.
React applications can quickly become difficult to navigate without a standardized folder structure.
In TypeScript projects, developers often configure path aliases in `tsconfig.json` to avoid long relative import paths.