Skip to content

Add standalone client package - #1171

Draft
simolus3 wants to merge 1 commit into
mainfrom
tanstack-db-lite
Draft

simolus3 wants to merge 1 commit into
mainfrom
tanstack-db-lite

Conversation

@simolus3

@simolus3 simolus3 commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

This adds the @powersync/standalone-client package, which can subscribe to Sync Streams to materialize an in-memory collection of tables without using SQLite or a full PowerSync SDK.

powersync-ja/tanstack-db@083a6cc is a vibe-coded POC integrating this into the the existing TanStack DB collection package. I think the standalone client is too different to belong into the same package though, this is also making everyone pay some added bundle costs. I'll share my thoughts on that offline.

AI use: Most of the package and its tests were ported from Ralf's original POC with Claude Code. I carefully reviewed src/ and made some simplifications, tests are mostly unchanged though.

@simolus3
simolus3 added this pull request to stack #1172 October 26, 2026 16:33
@changeset-bot

changeset-bot Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: cdb710d

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@benitav benitav added the Product Visibility This requires documentation changes and or announcing. label Oct 27, 2026
Comment thread .changeset/soft-baboons-film.md Outdated
@@ -0,0 +1,5 @@
---
'@powersync/tanstack-db-lite': patch

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if we have discussed distribution yet. It may be that we want to release this as an alternative client under the @tanstack group. But we're probably fine to have it here for initial review.

@simolus3 simolus3 changed the title Add lite Tanstack DB integration Add standalone client package Oct 30, 2026
Base automatically changed from js-sync-client to main November 2, 2026 09:17

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Product Visibility This requires documentation changes and or announcing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants