LiveStore is a state management framework that combines reactive SQLite with a built-in sync engine for client-centric data layers.
LiveStore addresses the problem of managing application state across offline-first, multi-client environments by embedding SQLite as a reactive query layer and using event sourcing to synchronize changes. When data changes occur, they are committed to the local store, applied instantly to queries, and persisted as change events that sync across clients and browser tabs. A materializer layer applies these events to the database, ensuring query results update reactively on the next render. The sync backend then propagates changes to all connected clients, enabling true offline-first workflows with custom merge conflict resolution.
The tool suits applications requiring offline functionality, real-time collaboration, or complex local data management. It provides adapters for web, mobile, server, edge, and desktop platforms, with getting-started guides for React, Vue, Expo, and Node environments. It replaces traditional state management libraries like Redux or MobX by offering a full data layer built on SQLite rather than in-memory stores. The framework supports syncing with provided backends or custom implementations, and includes a query builder alongside raw SQL support for flexible data modeling.
The project shows consistent development activity with regular commits across multiple areas of the codebase. Work spans core functionality, documentation, and platform-specific adapters, indicating sustained effort to maintain and expand the framework. The maintainers actively address issues and merge contributions, demonstrating ongoing engagement with the project's evolution.