diff --git a/REACT_MIGRATION.md b/REACT_MIGRATION.md deleted file mode 100644 index a4bf4be..0000000 --- a/REACT_MIGRATION.md +++ /dev/null @@ -1,261 +0,0 @@ -# React Migration Plan - -Migration from lit-html (functional templates) to React 19 + TypeScript + Vite. - -## Status - -| Phase | Description | Status | -|-------|-------------|--------| -| 1 | Infrastructure (Vite, React shell, router, LitBridge, build pipeline, shared components) | **Complete** | -| 2 | Convert pages one-by-one from LitBridge to native React | **Complete** | -| 3 | Chart & map components (react-chartjs-2, react-leaflet) | **Complete** | -| 4 | Cleanup (remove lit-html, old spa/, LitBridge, @legacy alias) | **Complete** | -| 5 | Frontend CI + vitest unit/component tests + navbar → React (SPA shell) | **Complete** | - -> **Phase 3 status:** All `window.Chart` / `window.L` / `window.QRCode` globals and the -> `charts.js` helper script are gone. Charts now use **react-chartjs-2** (typed builders in -> `spa-react/utils/charts.ts` + components in `spa-react/components/charts/Charts.tsx`), -> maps use **react-leaflet** (`MapPage.tsx`, `NodeDetail.tsx`), and QR codes use -> **react-qr-code** (`Channels.tsx`, `NodeDetail.tsx`). Chart.js, Leaflet (+ its CSS), and -> react-qr-code are bundled by Vite — the vendor `