Local-First Web Development and How Can We Build It With Vue
summary
Argues that making apps local-first yields instant local operations, offline resilience and user-controlled data by storing to IndexedDB and syncing later; demonstrates a Vue.js PWA converted to use Dexie.js + Dexie Cloud with an auth flow, liveQuery/useObservable reactivity and UUID-style IDs so local edits sync and appear on other devices immediately. Builds a working to‑do POC (add/toggle/delete, login, cloud sync) that succeeds in demo, notes Safari storage expiry and partial-sync limits for large datasets.
AI-written summary · about
chapters (17)
- 0:00Local-first intro
- 1:06Traditional web problems
- 3:14Seven principles
- 5:44Local-first explained
- 6:50Vue ingredients
- 8:35Storage limits & conflicts
- 10:20Choosing tools for local-first development
- 11:43To-do app with Dexie
- 13:13Dexie Cloud setup
- 15:47Reactive to-do logic
- 17:58Auth guard component
- 19:24Dexie + Vue integration
- 20:29When to use local-first
- 22:16Advantages of local-first performance
- 22:38Community & future
- 22:59Q&A: Offline
- 23:41Q&A: Storage limits
related talks
30mOffline First: Making Your App Awesome When the Network Isn't
45mOffline First (Web) Apps
38mHow we developed an Offline‑First app using Persistent Storage
45mVue.js, PWA and the subway dilemma
41mIntroduction to Offline First Web Applications
59mProgressive React Apps
14mOffline first applications, syncing with PouchDB & CouchDB
21mOffline first in Angular
