Skip to content

feat(react): implement Realtime Database hooks#233

Merged
Ehesp merged 6 commits into
mainfrom
feat/react-database-hooks
May 27, 2026
Merged

feat(react): implement Realtime Database hooks#233
Ehesp merged 6 commits into
mainfrom
feat/react-database-hooks

Conversation

@Ehesp

@Ehesp Ehesp commented May 26, 2026

Copy link
Copy Markdown
Member

Add query and mutation hooks for firebase/database, including subscription support via TanStack Query cache updates, emulator test utilities, and the ./database package export.

Add query and mutation hooks for firebase/database, including subscription
support via TanStack Query cache updates, emulator test utilities, and the
./database package export.
@docs-page

docs-page Bot commented May 26, 2026

Copy link
Copy Markdown

To view this pull requests documentation preview, visit the following URL:

docs.page/invertase/tanstack-query-firebase~233

Documentation is deployed and generated using docs.page.

…12 workflow

Unblocks PR CI by fixing format check failures in database hooks and updating the emulator workflow to Java 21, which firebase-tools@latest now requires.
@changeset-bot

changeset-bot Bot commented May 26, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 18f5a01

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@tanstack-query-firebase/react Minor

Not sure what this means? Click here to learn what changesets are.

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

Ehesp added 2 commits May 26, 2026 15:06
Ensures @tanstack-query-firebase/react receives a minor version bump when the database hooks are released.
Document the new database hooks in the docs site, update navigation, and refresh the migration guide to reflect Realtime Database listener support.
@Ehesp Ehesp marked this pull request as ready for review May 26, 2026 14:09
Copilot AI review requested due to automatic review settings May 26, 2026 14:09

Copilot AI left a comment

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Ehesp added 2 commits May 26, 2026 15:40
Avoid serializing circular QueryRef objects during prefetch/dehydrate, and pin firebase-tools@14 in the v12 CI workflow to match the stable emulator setup used by the main test job.
Keep Realtime Database work scoped to database hooks; Firebase v12 Data Connect compatibility will be handled separately.
@Ehesp Ehesp changed the title feat(react): implement Realtime Database hooks with tests and exports feat(react): implement Realtime Database hooks May 27, 2026
@Ehesp Ehesp merged commit 765be69 into main May 27, 2026
3 of 4 checks passed
@Ehesp Ehesp deleted the feat/react-database-hooks branch May 27, 2026 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants