Skip to content

Conversation

@stevensJourney
Copy link
Collaborator

@stevensJourney stevensJourney commented Nov 3, 2025

Overview

This adds a React web app demo using the TanStackDB integration for local queries and mutations.

This demo has all the same functions (and looks exactly the same) as the React Supabase Todolist demo. The main differences are in the implementation.

  • The types used throughout the demo are derived from Zod Schemas with advanced validations and type transforms
  • We use the useLiveQuery hook from TanStackDB for reactivity
  • Full Text Search is replaced by a regular TanStackDB query.

This demo uses @tanstack/db, @tanstack/powersync-db-collection and @tanstack/react-db.

The demo here is mainly focused on the PowerSync collection integration. We don't use @tanstack/react-router here (yet).

@changeset-bot
Copy link

changeset-bot bot commented Nov 3, 2025

⚠️ No Changeset found

Latest commit: 859e6b1

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

@stevensJourney stevensJourney marked this pull request as ready for review November 4, 2025 08:15
@Chriztiaan
Copy link
Contributor

Tested on my side, LG2M.

@stevensJourney stevensJourney merged commit 5ba7d33 into main Nov 6, 2025
9 of 14 checks passed
@stevensJourney stevensJourney deleted the tanstack-demo branch November 6, 2025 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants