Skip to content

feat(react-query): add 'Hydrate' to react-query-4 and 'HydrationBoundary' to react-query-5#1933

Open
sukvvon wants to merge 5 commits intotoss:mainfrom
sukvvon:feat/add-hydrate-and-hydration-boundary
Open

feat(react-query): add 'Hydrate' to react-query-4 and 'HydrationBoundary' to react-query-5#1933
sukvvon wants to merge 5 commits intotoss:mainfrom
sukvvon:feat/add-hydrate-and-hydration-boundary

Conversation

@sukvvon
Copy link
Contributor

@sukvvon sukvvon commented Mar 25, 2026

Overview

Just as @suspensive/react provides a better experience with the same naming as React's Suspense, @suspensive/react-query should also provide components that match the API names of TanStack Query.

  • @suspensive/react-query-4: add <Hydrate/> (matches Hydrate from @tanstack/react-query v4)
  • @suspensive/react-query-5: add <HydrationBoundary/> (matches HydrationBoundary from @tanstack/react-query v5)

PR Checklist

  • I did below actions if need
  1. I read the Contributing Guide
  2. I added documents and tests.

@coauthors
Copy link

coauthors bot commented Mar 25, 2026

People can be co-author:

Candidate Reasons Count Add this as commit message
@sukvvon #1933 1 Co-authored-by: sukvvon <66409882+sukvvon@users.noreply.github.com>
@codecov-commenter #1933 (comment) 1 Co-authored-by: codecov-commenter <65553080+codecov-commenter@users.noreply.github.com>

@vercel
Copy link
Contributor

vercel bot commented Mar 25, 2026

@sukvvon is attempting to deploy a commit to the Toss Team on Vercel.

A member of the Team first needs to authorize it.

@changeset-bot
Copy link

changeset-bot bot commented Mar 25, 2026

🦋 Changeset detected

Latest commit: 8229d51

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

This PR includes changesets to release 6 packages
Name Type
@suspensive/react-query-4 Minor
@suspensive/react-query-5 Minor
@suspensive/react-query Minor
@suspensive/react Minor
@suspensive/jotai Minor
@suspensive/codemods 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

@sukvvon sukvvon force-pushed the feat/add-hydrate-and-hydration-boundary branch from 4d1de5d to 7089128 Compare March 25, 2026 18:34
@codecov-commenter
Copy link

codecov-commenter commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.40%. Comparing base (cad8084) to head (8229d51).

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1933      +/-   ##
==========================================
+ Coverage   94.06%   94.40%   +0.34%     
==========================================
  Files          41       43       +2     
  Lines         657      697      +40     
  Branches      163      179      +16     
==========================================
+ Hits          618      658      +40     
  Misses         36       36              
  Partials        3        3              
Components Coverage Δ
@suspensive/react 100.00% <ø> (ø)
@suspensive/react-query 100.00% <ø> (ø)
@suspensive/react-query-4 100.00% <100.00%> (ø)
@suspensive/react-query-5 100.00% <100.00%> (ø)
@suspensive/jotai 100.00% <ø> (ø)
@suspensive/codemods 81.60% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sukvvon sukvvon marked this pull request as ready for review March 26, 2026 02:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: add 'Hydrate' to '@suspensive/react-query-4' and 'HydrationBoundary' to '@suspensive/react-query-5'

2 participants