mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-07-14 18:15:56 -04:00
Migrate component state to Jotai atoms across settings, explore, and dashboard
Replace ad-hoc useState/useEffect fetch patterns with Jotai atoms and loadables in StatsDisplay, FilterableTitleRow, BackupScheduleSection, IntegrationsSection, and CommandPalette. Each component now gets a scoped Jotai Provider with a pre-initialized store so server-rendered initial values hydrate correctly. Async data fetching moves into atom-level loadables, eliminating manual loading flags and cancellation logic throughout.
This commit is contained in:
+5
-4
@@ -16,9 +16,10 @@
|
||||
},
|
||||
"dependencies": {
|
||||
"@base-ui/react": "1.2.0",
|
||||
"@better-auth/drizzle-adapter": "1.5.3",
|
||||
"@tabler/icons-react": "3.38.0",
|
||||
"@tanstack/react-hotkeys": "0.3.1",
|
||||
"better-auth": "1.5.2",
|
||||
"better-auth": "1.5.3",
|
||||
"class-variance-authority": "0.7.1",
|
||||
"clsx": "2.1.1",
|
||||
"cmdk": "1.1.1",
|
||||
@@ -28,13 +29,13 @@
|
||||
"embla-carousel-react": "8.6.0",
|
||||
"embla-carousel-wheel-gestures": "8.1.0",
|
||||
"jotai": "2.18.0",
|
||||
"motion": "12.34.5",
|
||||
"motion": "12.35.0",
|
||||
"next": "16.1.6",
|
||||
"node-vibrant": "4.0.4",
|
||||
"react": "19.2.4",
|
||||
"react-day-picker": "9.14.0",
|
||||
"react-dom": "19.2.4",
|
||||
"react-resizable-panels": "4.7.0",
|
||||
"react-resizable-panels": "4.7.1",
|
||||
"recharts": "3.7.0",
|
||||
"shadcn": "3.8.5",
|
||||
"sonner": "2.0.7",
|
||||
@@ -44,7 +45,7 @@
|
||||
"zod": "4.3.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "2.4.5",
|
||||
"@biomejs/biome": "2.4.6",
|
||||
"@types/bun": "1.3.10",
|
||||
"@tailwindcss/postcss": "4.2.1",
|
||||
"@types/node": "25.3.3",
|
||||
|
||||
Reference in New Issue
Block a user