rmaps-online/src/hooks
Jeff Emmett 9d8314096b feat: Add comprehensive PWA offline support
- Enhanced service worker with multi-strategy caching:
  - App shell precaching for instant loading
  - Map tiles cache-first with background refresh (max 500 tiles)
  - API requests network-first with cache fallback
  - Static assets stale-while-revalidate
- IndexedDB room state persistence for offline access
- Room state sync in useRoom hook:
  - Saves state to service worker on changes
  - Loads cached state on initial load for offline fallback
- Message handlers for SAVE_ROOM_STATE, GET_ROOM_STATE, CLEAR_CACHES

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-02 17:04:07 +01:00
..
useLocationSharing.ts fix: Add fallback to low-accuracy geolocation when GPS times out 2026-01-02 10:23:06 +01:00
usePWAInstall.ts feat: Fix navigate button and add PWA install prompt 2025-12-29 01:54:25 +01:00
usePushNotifications.ts fix: Cast applicationServerKey to ArrayBuffer for strict TypeScript 2025-12-29 01:41:36 +01:00
useRoom.ts feat: Add comprehensive PWA offline support 2026-01-02 17:04:07 +01:00
useServiceWorkerMessages.ts fix: Add Background Sync API type declarations 2025-12-29 01:43:47 +01:00