# Db

> TanStack DB aims to streamline data management in modern web applications by providing a reactive, offline-capable database layer that sits between the user interface and backend APIs. It reduces network latency through local caching and live updates, eliminates endpoint sprawl, and enables instant optimistic writes without requiring a full round-trip to the server. The library supports multiple storage strategies (local, remote, hybrid), real-time subscriptions, and is built with performance in mind—especially for large datasets. Its goal is to empower developers to build fast, responsive apps while keeping backend logic simple and scalable.

**Remember:**
- Reactive client store
- Live queries
- Optimistic writes
- Offline transactions
- Collection-based data management
- Sync strategies (e.g., electric, powersync, query)

## Docs
- [Installation](https://github.com/tanstack/db/blob/main/docs/installation.md): install & quickstart.
- [Overview](https://github.com/tanstack/db/blob/main/docs/overview.md): install & quickstart.
- [Overview](https://github.com/tanstack/db/blob/main/docs/framework/angular/overview.md): install & quickstart.
- [Overview](https://github.com/tanstack/db/blob/main/docs/framework/react/overview.md): install & quickstart.
- [Overview](https://github.com/tanstack/db/blob/main/docs/framework/solid/overview.md): install & quickstart.
- [Overview](https://github.com/tanstack/db/blob/main/docs/framework/svelte/overview.md): install & quickstart.
- [Overview](https://github.com/tanstack/db/blob/main/docs/framework/vue/overview.md): install & quickstart.
- [Reference](https://github.com/tanstack/db/blob/main/docs/reference/index.md): API reference.
- [Electric Db Collection](https://github.com/tanstack/db/blob/main/docs/reference/electric-db-collection/index.md): API reference.
- [Powersync Db Collection](https://github.com/tanstack/db/blob/main/docs/reference/powersync-db-collection/index.md): API reference.

## Tutorials
- [README](https://github.com/tanstack/db/blob/main/examples/angular/todos/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/examples/react/offline-transactions/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/examples/react/projects/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/examples/react/todo/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/examples/solid/todo/README.md): install & quickstart.
- [Paced Mutations Demo](https://github.com/tanstack/db/blob/main/examples/react/paced-mutations-demo/index.html): worked example.
- [Todo](https://github.com/tanstack/db/blob/main/examples/react/todo/index.html): worked example.
- [Todo](https://github.com/tanstack/db/blob/main/examples/solid/todo/index.html): worked example.
- [Src](https://github.com/tanstack/db/blob/main/examples/angular/todos/src/index.html): worked example.
- [Agent](https://github.com/tanstack/db/blob/main/examples/react/projects/AGENT.md): worked example.

## API
- [Offlineaction](https://github.com/tanstack/db/blob/main/packages/offline-transactions/src/api/OfflineAction.ts): API reference.
- [Offlinetransaction](https://github.com/tanstack/db/blob/main/packages/offline-transactions/src/api/OfflineTransaction.ts): API reference.

## Optional
- [Changelog](https://github.com/tanstack/db/blob/main/packages/angular-db/CHANGELOG.md): version history.
- [Changelog](https://github.com/tanstack/db/blob/main/packages/db-collection-e2e/CHANGELOG.md): version history.
- [Changelog](https://github.com/tanstack/db/blob/main/packages/db-ivm/CHANGELOG.md): version history.
- [Changelog](https://github.com/tanstack/db/blob/main/packages/db/CHANGELOG.md): version history.
- [Changelog](https://github.com/tanstack/db/blob/main/packages/electric-db-collection/CHANGELOG.md): version history.
- [Changelog](https://github.com/tanstack/db/blob/main/packages/offline-transactions/CHANGELOG.md): version history.
- [Changelog](https://github.com/tanstack/db/blob/main/packages/powersync-db-collection/CHANGELOG.md): version history.
- [Changelog](https://github.com/tanstack/db/blob/main/packages/query-db-collection/CHANGELOG.md): version history.
- [Changelog](https://github.com/tanstack/db/blob/main/packages/react-db/CHANGELOG.md): version history.
- [Changelog](https://github.com/tanstack/db/blob/main/packages/rxdb-db-collection/CHANGELOG.md): version history.
- [Agents](https://github.com/tanstack/db/blob/main/AGENTS.md): docs page.
- [README](https://github.com/tanstack/db/blob/main/README.md): docs page.
- [Eslint.Config](https://github.com/tanstack/db/blob/main/eslint.config.js): docs page.
- [Prettier.Config](https://github.com/tanstack/db/blob/main/prettier.config.js): docs page.
- [Verify Links](https://github.com/tanstack/db/blob/main/scripts/verify-links.ts): docs page.

## .Github
- [Pull Request Template](https://github.com/tanstack/db/blob/main/.github/pull_request_template.md): docs page.
- [Bug Report](https://github.com/tanstack/db/blob/main/.github/ISSUE_TEMPLATE/bug_report.md): docs page.

## Packages
- [README](https://github.com/tanstack/db/blob/main/packages/angular-db/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/packages/db-collection-e2e/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/packages/db-ivm/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/packages/db/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/packages/offline-transactions/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/packages/react-db/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/packages/solid-db/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/packages/svelte-db/README.md): install & quickstart.
- [README](https://github.com/tanstack/db/blob/main/packages/vue-db/README.md): install & quickstart.
- [Svelte.Config](https://github.com/tanstack/db/blob/main/packages/svelte-db/svelte.config.js): docs page.
