Local First Svelte
summary
Practical walkthrough of building Local First apps with Svelte 5 and SvelteKit using IndexedDB (via Dexie.js), PocketBase, and Replicache-style patch sync. Shows a desktop production assistant and an invoice app that save on every keystroke and survive refreshes, a naive single-user sync, and a Replicache-backed habit app where pushes are backgrounded while the UI updates instantly. Describes a 15-step server-side patch/version resolution flow, service worker caching, and starter templates aiming for zero-config local-first deployments.
AI-written summary · about
chapters (13)
- 0:00Introduction and speaker intro
- 1:27What is local first software
- 4:41Benefits of local data
- 6:28Developer implications
- 9:40Local first in SvelteKit
- 11:46Local only apps with IndexedDB
- 14:36Local cache with manual sync
- 16:23Naive sync vs advanced sync
- 19:12Local first with PocketBase
- 20:38Full takeover solutions overview
- 22:05Future of local first tech
- 23:09SvelteKit starter project
- 25:13Closing and resources
related talks
24mAn introduction to local-first apps
24mLocal-first app development
24mGoing Local-First: A Primer
27mProgressively enhanced apps with Svelte
37mBuilding With SvelteKit
32mNative-Grade Web Apps with Local-First Data
29mGet Your Web App Development in Shape with SvelteKit
18mRethinking Apps with Local-First Architecture
