TanStack / TanStack/db

Offline-First Support

Open
#82 23 comments 117 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.9k
Forks
266
Avg merge
1d 4h
Merged PRs (30d)
55

Description

Hey TanStack team! 👋

I've been loving TanStack DB so far - the reactive collections and optimistic mutations are exactly what I need. I'm wondering if you have any plans to support offline-first functionality?

It would be amazing to have:
Local persistence for collections
Ability to work completely offline
Auto-sync when connection returns

This seems like a natural extension of the existing optimistic updates system that's already so well implemented.
Is this something on your roadmap?

Would love to contribute to discussions around this if helpful!

Thanks for the awesome work so far! 🙌

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reviewing TanStack DB's existing reactive collections and optimistic mutations, then define the persistence, offline operation, and reconnection sync behavior; done would mean all three capabilities work together reliably.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.