# Tech Stack | Category | Technology | Version | | --------------------- | --------------------------- | ------- | | **Framework** | React | 19 | | **Build Tool** | Vite | 8 | | **Language** | TypeScript | 5.9 | | **Styling** | Tailwind CSS | 4 | | **Component Library** | shadcn/ui (base-nova style) | — | | **Icons** | Lucide React | 1.7 | | **State Management** | Zustand | 5 | | **Server State** | TanStack React Query | 5 | | **Routing** | React Router | 7 | | **HTTP Client** | Axios | 1.14 | | **Forms** | React Hook Form | 7 | | **Validation** | Zod | 4 | | **Charts** | Recharts | 3.8 | | **Date Utilities** | date-fns | 4 | | **Toasts** | Sonner | 2 | --- ## Key Design Decisions - **Zustand** for synchronous client state (library cache, theme) — avoids prop drilling and provides instant updates across components. - **React Query** for all server state — handles caching, background refetching, pagination (infinite queries), and mutation invalidation. - **shadcn/ui** — copy-pasted, customizable primitives (not a package dependency). Located in `src/components/ui/`. - **Tailwind CSS 4** — utility-first styling with design tokens defined as CSS custom properties in OKLCH colour space. - **Vite** — fast HMR, native ESM, and simple proxy configuration for the backend API. - **Lazy-loaded pages** via `React.lazy()` + `Suspense` — each page is code-split for faster initial load.