mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 01:35:39 -04:00
Seed the Better Auth session atom from SecureStore cache before React renders so the app shows cached data instantly instead of hanging on the splash screen for 30-60s when the server is down. Add a server reachability monitor that probes /api/health and displays an amber "Can't reach server" banner (distinct from the offline banner). When the server recovers, the session is re-validated automatically — if expired, a toast explains the sign-out. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>