github

livestorejs / livestore

  • пятница, 30 мая 2025β€―Π³. Π² 00:00:02
https://github.com/livestorejs/livestore

LiveStore is a next-generation state management framework based on reactive SQLite and built-in sync engine.



LiveStore Logo

What LiveStore does

  • 🏰 Provide a powerful data foundation for your app.
  • ⚑ Reactive query layer with full SQLite support.
  • πŸ”Œ Adapters for most platforms (web, mobile, server/edge, desktop).
  • πŸ“ Flexible data modeling and schema management.
  • πŸ“΅ Support true offline-first workflows.
  • πŸ’₯ Custom merge conflict resolution.
  • πŸ”„ Sync with a supported provider or roll your own.

Getting Started

How LiveStore works

LiveStore is a fully-featured, client-centric data layer (replacing libraries like Redux, MobX, etc.) with a reactive embedded SQLite database powered by real-time sync (via event-sourcing).

How LiveStore works

  1. Instant, reactive queries to your local SQLite database (via built-in query builder or raw SQL).
  2. Data changes are commited to the store, applied instantly and synced across clients.
  3. Change events are persisted locally and synced across clients (and across tabs).
  4. Events are instantly applied to the local database via materializers.
  5. Query results are reactively and synchronously updated in the next render.
  6. The LiveStore sync backend propagates changes to all connected clients.

If you’d like to learn more about how LiveStore works under the hood, feel free to check out our in-depth guides in the documentation and dive into topics like:

License

Livestore is licensed under the Apache License 2.0.