Repository navigation
feat: support skipToken in useSuspenseQuery - #12679
Conversation
🦋 Changeset detectedLatest commit: 201f484 The changes in this PR will be included in the next version bump. This PR includes changesets to release 25 packages
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 |
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
|
View your CI Pipeline Execution ↗ for commit 201f484
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version Preview23 package(s) bumped directly, 2 bumped as dependents. 🟥 Major bumps
|
size-limit report 📦
|
…nse-query-skip-token # Conflicts: # packages/preact-query/src/types.ts # packages/react-query/src/types.ts
…nse-query-skip-token # Conflicts: # packages/preact-query/src/types.ts # packages/preact-query/src/useSuspenseQuery.ts
🎯 Changes
Allow
useSuspenseQueryin React and Preact to acceptskipToken, including throughqueryOptions. A skipped query reads the cache without suspending or starting a fetch. Calls with a query function keepTData. Calls that can skip returnTData | undefined. TypeScript utilities such asReturnTypesee the wider overload.Both adapter test suites, type checks, lint, builds, package checks, and docs link checks passed locally.
✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact