Offline workflow in React Native with WatermelonDB
summary
WatermelonDB is a SQLite‑backed RN database that runs queries on a native thread, uses observable records and lazy loading, and claims fast UI updates. The built system swaps Watermelon’s bulk change‑set sync for a per‑user action queue that uploads individual CRUD actions, implements id cascade (and id‑pair fallbacks) to reconcile client/server IDs, and applies repair/deletion steps with child fetching; the custom sync works but increases complexity and server API requirements.
AI-written summary · about
