A local-first app keeps working data on the device so reading and editing continue offline. When connectivity returns, devices exchange changes.
The demo lets two devices edit different lines offline, then synchronizes both. Concurrent edit policy and local data protection still need design.
When to use
Use it for collaborative or field apps that must remain editable on unreliable networks.