Single Source of Truth
The reactive normalized cache keeps every module aligned with the latest known state.
rstore combines a local-first normalized cache, typed query and mutation APIs, and a plugin transport pipeline so teams can ship realtime, offline, and multi-source apps with confidence and ease.
The reactive normalized cache keeps every module aligned with the latest known state.
Reads resolve on the client to keep updates, syncs, offline, and realtime operations smooth.
Create, update, and delete flows update the UI instantly, without waiting on the server.
Create form objects that manage data, validation, submission, errors, and more.
Use full type safety and autocomplete for every query and mutation route.
Merge data from multiple sources into one unified store graph.
Connect WebSockets or other realtime sources for continuous live updates.
Built-in offline-first support with automatic synchronization when back online.
Fetch any data from any source with a flexible, extensible plugin system.
Create the store yourself and wire plugins intentionally for a predictable, framework-agnostic data layer.
Auto-register collections and plugins from directories, then call a typed `useStore()` across your app.

Generate collections, endpoints, and client plumbing from your Drizzle schema with minimal manual wiring.
Colocate reads in component code and keep them reactive while still passing backend params explicitly.
<script setup lang="ts">
const store = useStore()
const { data: todos, loading, refresh } = await store.todos.query(q => q.many({
filter: item => !item.completed,
params: {
completed: false,
},
}))
</script>
<template>
<TodoList
:items="todos"
:loading
@refresh="refresh()"
/>
</template>rstore ships with dedicated skill packs so AI tools can reason about your data model, follow package conventions, and generate changes that stay aligned with your architecture.
npx skills-npmCollections, queries, forms, and plugins follow consistent patterns, so AI-generated code is easier to review and trust.
Schema-based conventions give agents enough context to edit multiple files without guessing where things belong.
Use AI for repetitive setup and migrations while your team keeps control of architecture and final decisions.
Choose your mission track: whether you're looking for a quick setup guide, in-depth architectural rationale, or detailed API references, we've got you covered.
Go from zero to a running store setup with copy-paste snippets and framework-specific steps.
Learn query, mutation, forms, cache, and realtime patterns that keep your UI consistently fast.
Use plugins and hooks to connect REST, WebSockets, SQL pipelines, or custom transports cleanly.
Follow migration playbooks and version notes to evolve your stack without losing momentum.