-
Notifications
You must be signed in to change notification settings - Fork 124
Update overview w/ Query-Driven Sync and other features/arguments #812
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update overview w/ Query-Driven Sync and other features/arguments #812
Conversation
Updates the overview documentation to better reflect the content and features from the two DB blog posts (0.1 and 0.5): - Add compelling "Option C" narrative explaining the architecture problem TanStack DB solves (view-specific APIs vs load-everything) - Document Query-Driven Sync feature from 0.5 release: - Three sync modes: eager, on-demand, progressive - How component queries automatically become API calls - Request optimization (collapsing, delta loading, join batching) - Add concrete performance numbers: ~0.7ms updates for 100k items on M1 Pro, demonstrating truly instantaneous optimistic updates - Expand sync engine benefits section: - Easy real-time updates without WebSocket plumbing - Automatic side-effects and cache invalidation - Efficient delta updates enabling "load everything once" pattern These changes bridge the gap between the technical reference docs and the compelling narrative from the blog posts, helping developers understand both why TanStack DB exists and how to use it effectively.
|
Highlights that apps can't get sluggish due to too much data, with queries over 100k+ rows completing in under a millisecond. This makes the end-user experience benefit clear early in the documentation.
More templates
@tanstack/angular-db
@tanstack/db
@tanstack/db-ivm
@tanstack/electric-db-collection
@tanstack/offline-transactions
@tanstack/powersync-db-collection
@tanstack/query-db-collection
@tanstack/react-db
@tanstack/rxdb-db-collection
@tanstack/solid-db
@tanstack/svelte-db
@tanstack/trailbase-db-collection
@tanstack/vue-db
commit: |
|
Size Change: 0 B Total Size: 85.8 kB ℹ️ View Unchanged
|
|
Size Change: 0 B Total Size: 3.34 kB ℹ️ View Unchanged
|
Rewrites the introduction to: - Lead with the problems TanStack DB solves (endpoint sprawl, client performance, network on interaction path) - Emphasize the end-user benefit upfront: interactions feel instantaneous, app stays fast regardless of data volume - Present the "new way" as numbered benefits rather than "Option C" framing - More action-oriented and benefit-focused language This makes the value proposition clearer and more compelling for developers evaluating TanStack DB.
|
This looks great to merge. One additional thing is whether to also update the project homepage to (I've updated the repo settings on GitHub). |
Aligns README with the refined overview.md framing: - Changes "client-first" to "client" to match new terminology - Adopts problem-solution framing (avoid endpoint sprawl, optimize client performance, take network off interaction path) - Emphasizes end-user benefit: app stays fast regardless of data - More action-oriented and benefit-focused language Keeps README concise while maintaining consistency with docs.
Aligns the core package README with the refined messaging: - Updates tagline to "The reactive client store for your API" - Adds "solves the problems of building fast, modern apps" - Rewrites bullet points to focus on problem-solution framing: - Avoid endpoint sprawl (vs building custom endpoints) - Blazing fast queries (app stays fast regardless of data) - Instant interactions (network off interaction path) - Fine-grained reactivity (minimize re-rendering) Makes the npm package description more benefit-oriented.
|
yeah good call — I'll update tanstack.com now |
Updates the overview documentation to better reflect the content and features from the two DB blog posts (0.1 and 0.5):