Testing
Testing ElectricSQL and Local-First Apps: A Complete Guide
Your local-first app feels instant. Writes land immediately, the UI updates without a spinner, and sync happens invisibly in the background. Until it doesn't. A conflict resolver fires incorrectly, a shape subscription misses rows, or the client state diverges from Postgres after a partition. Nobody sees it