What problem does it solve?
This skill codifies frontend best practices for React/TypeScript projects.
It covers data fetching, code-splitting, routing, styling, and project structure for component development, page composition, and feature organization.
Core Features & Use Cases
- Suspense-based data fetching: encourage useSuspenseQuery and suspense boundaries to simplify loading states.
- Lazy loading & code-splitting: promote React.lazy and Suspense boundaries for heavy routes/components.
- Project structure: organize under features/ and components/ with clear subdirectories for API, hooks, components, and types.
- Styling with MUI v7: use the sx prop for consistent styling and proper Grid usage.
- Routing with TanStack Router: folder-based routes and createFileRoute patterns.
- Performance & TypeScript discipline: emphasize memoization, strict types, and consistent import aliases.
Quick Start
Start by aligning new components and pages with the guidelines: wrap heavy UI with SuspenseLoader and adopt useSuspenseQuery for data, organize code under features/ and components/, and apply MUI v7 styling and TanStack Router patterns.