Open History to see the last commit
1<div align="center">
2 <img src="./media/header_db.png" >
3</div>
4
5<br />
6
7<div align="center">
8 <a href="https://npmjs.com/package/@tanstack/db" target="\_parent">
9 <img alt="" src="https://img.shields.io/npm/dm/@tanstack/db.svg" alt="npm downloads" />
10 </a>
11 <a href="https://github.com/TanStack/db" target="\_parent">
12 <img alt="" src="https://img.shields.io/github/stars/TanStack/db.svg?style=social&label=Star" alt="GitHub stars" />
13 </a>
14 <a href="https://bundlejs.com/?q=%40tanstack%2Fdb&config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22react%22%2C%22react-dom%22%5D%7D%7D&badge=" target="\_parent">
15 <img alt="" src="https://deno.bundlejs.com/?q=@tanstack/db&config={%22esbuild%22:{%22external%22:[%22react%22,%22react-dom%22]}}&badge=detailed" alt="Bundle size" />
16 </a>
17</div>
18
19<div align="center">
20 <a href="#status">
21 <img src="https://img.shields.io/badge/status-beta-yellow" alt="Status - BETA">
22 </a>
23 <a href="https://bestofjs.org/projects/tanstack-db">
24 <img alt="Best of JS" src="https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=TanStack%2Fdb%26since=daily" alt="Best of JS"/>
25 </a>
26 <a href="https://twitter.com/tan_stack">
27 <img src="https://img.shields.io/twitter/follow/tan_stack.svg?style=social" alt="Follow @TanStack"/>
28 </a>
29</div>
30
31<div align="center">
33### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)
34</div>
35
36# TanStack DB
37
38> Tanstack DB is currently in BETA. See [the release post](https://tanstack.com/blog/tanstack-db-0.1-the-embedded-client-database-for-tanstack-query) for more details.
39
40The reactive client store for your API.
41
42TanStack DB solves the problems of building fast, modern apps, helping you:
43
44- Avoid endpoint sprawl and network waterfalls by loading data into normalized collections
45- Optimise client performance with sub-millisecond live queries and real-time reactivity
46- Take the network off the interaction path with instant optimistic writes
47
48Data loading is optimized. Interactions feel instantaneous. Your backend stays simple and your app stays blazing fast. No matter how much data you load.
49
50<a href="https://tanstack.com/db" style="font-weight:bold" >Read the docs →</a>
51<br />
52
53## Get Involved
54
55- We welcome issues and pull requests!
56- Participate in [GitHub discussions](https://github.com/TanStack/db/discussions)
57- Chat with the community on [Discord](https://discord.com/invite/WrRKjPJ)
58- See [CONTRIBUTING.md](./CONTRIBUTING.md) for setup instructions
59
60## Partners
61
62<table align="center">
63<tr>
64<td>
65<a href="https://www.coderabbit.ai/?via=tanstack&dub_id=aCcEEdAOqqutX6OS" >
66<picture>
67 <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/coderabbit-dark-D643Zkrv.svg" height="40" />
68 <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/coderabbit-light-CIzGLYU_.svg" height="40" />
69 <img src="https://tanstack.com/assets/coderabbit-light-CIzGLYU_.svg" height="40" alt="CodeRabbit" />
70</picture>
71</a>
72</td>
73<td>
74<a href="https://www.cloudflare.com?utm_source=tanstack">
75<picture>
76 <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/cloudflare-white-Co-Tyjbl.svg" height="60" />
77 <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/cloudflare-black-6Ojsn8yh.svg" height="60" />
78 <img src="https://tanstack.com/assets/cloudflare-black-6Ojsn8yh.svg" height="60" alt="Cloudflare" />
79</picture>
80</a>
81</td>
82</tr>
83<tr>
84<td>
85<a href="https://electric-sql.com">
86<picture>
87 <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/electric-dark-Bfu2Vl2j.svg" height="60">
88 <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/electric-light-C-5MDda4.svg" height="60">
89 <img src="https://raw.githubusercontent.com/electric-sql/meta/main/identity/ElectricSQL-logo.with-background.sm.png" height="60" alt="ElectricSQL logo"/>
90</picture>
91</a>
92</td>
93<td>
94<a href="https://www.prisma.io?utm_source=tanstack&via=tanstack">
95<picture>
96 <source media="(prefers-color-scheme: dark)" srcset="https://tanstack.com/assets/prisma-dark-DwgDxLwn.svg" height="60">
97 <source media="(prefers-color-scheme: light)" srcset="https://tanstack.com/assets/prisma-light-Cloa3Onm.svg" height="60">
98 <img src="https://tanstack.com/assets/prisma-dark-DwgDxLwn.svg" height="60" alt="Prisma"/>
99</picture>
100</a>
101</td>
102</tr>
103</table>
104
105<div align="center">
106<img src="./media/partner_logo.svg" alt="DB & you?" height="65">
107<p>
108We're looking for TanStack DB Partners to join our mission! Partner with us to push the boundaries of TanStack DB and build amazing things together.
109</p>
110<a href="mailto:partners@tanstack.com?subject=TanStack DB Partnership"><b>LET'S CHAT</b></a>
111</div>
112
113## Explore the TanStack Ecosystem
114
115- <a href="https://github.com/tanstack/config"><b>TanStack Config</b></a> – Tooling for JS/TS packages
116- <a href="https://github.com/tanstack/devtools"><b>TanStack DevTools</b></a> – Unified devtools panel
117- <a href="https://github.com/tanstack/form"><b>TanStack Form</b></a> – Type‑safe form state
118- <a href="https://github.com/tanstack/pacer"><b>TanStack Pacer</b></a> – Debouncing, throttling, batching <br/>
119- <a href="https://github.com/tanstack/query"><b>TanStack Query</b></a> – Async state & caching
120- <a href="https://github.com/tanstack/ranger"><b>TanStack Ranger</b></a> – Range & slider primitives
121- <a href="https://github.com/tanstack/router"><b>TanStack Router</b></a> – Type‑safe routing, caching & URL state
122- <a href="https://github.com/tanstack/router"><b>TanStack Start</b></a> – Full‑stack SSR & streaming
123- <a href="https://github.com/tanstack/store"><b>TanStack Store</b></a> – Reactive data store
124- <a href="https://github.com/tanstack/table"><b>TanStack Table</b></a> – Headless datagrids
125- <a href="https://github.com/tanstack/virtual"><b>TanStack Virtual</b></a> – Virtualized rendering
126
127… and more at <a href="https://tanstack.com"><b>TanStack.com »</b></a>
128v>
129
130<!-- Use the force, Luke -->