Repository navigation
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 7 Skipped Deployments
|
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
"Check standalone tanstack-start-sse-chat package" fails, and can't pass before this is published.
The only fix inside this PR is to drop the blog pages, which are the point of the prototype. If this goes further, the example can land in a follow-up once a canary has the new exports. Generated by Claude Code |
@trpc/client
@trpc/next
@trpc/openapi
@trpc/react-query
@trpc/server
@trpc/tanstack-react-query
@trpc/upgrade
commit: |
…e/sweet-albattani-gdth4h # Conflicts: # www/v11/docs/client/vanilla/nested-queries.md
Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@coderabbitai review |
Action not completed
|
…e/sweet-albattani-gdth4h
…e/sweet-albattani-gdth4h
|
@coderabbitai review |
Action performed
|
…t's reader finishes the author's A component that reads the author takes the author's finished handle, typed from its procedure, and finishes the team's posts' handle with the author. The component that reads the post finishes the author's handle, so the post doesn't wait on the author. Applied to the nested-queries example, the kitchen-sink blog's post page and the demo's article page. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_019Un67fr6whX1q318L8qKR1
|
@coderabbitai review Generated by Claude Code |
… `experimental_inferInfiniteQueryHandleOfItem` Type an unfinished handle by its procedure and the data that finishes it, so a component can take one and finish it without the page's handle type. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
@coderabbitai review |
Action performed
|
Action not completed
|
…e/sweet-albattani-gdth4h
…th4h `experimental_useHandles` is `useLoadHandles` now, from #8212. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…th4h Co-Authored-By: Claude Opus 5.5 <[email protected]>
…th4h Co-Authored-By: Claude Opus 5.5 <[email protected]>
#8212's `useLoadHandles`, ported to this branch's loads: a ref instead of a map of loads, mount counts and a timer; a load per QueryClient; entries compared without their order or first cursor; and a failed query that rendering doesn't start again. The hook's tests compare one component across renders, as components no longer share a load. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
#8212 is on main. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e/sweet-albattani-gdth4h
…nePath takes two arguments, tests use experimental_pipelineBudget() Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e/sweet-albattani-gdth4h
…e/sweet-albattani-gdth4h
…e/sweet-albattani-gdth4h
Why
experimental_load()to the client and server. This PR is the TanStack Query part. Folds in the TanStack side of feat(client,tanstack-react-query): one description of queries for both loaders #8163 and feat(client): retry a part of a load: an operation for every query #8176.What
loadHandles(trpc, entries)takes TanStack Query entries only: the verbs (prefetchEntry,ensureEntry,fetchEntry) say how each query starts. A bareexperimental_query()is a type error. The package re-exportsexperimental_dataOfandexperimental_perItem.experimental_dataOf(entry, (data) => entry): an entry built from another entry's data, loaded in the same request when the link pipelines.experimental_perItem: entries for every item of a list, which can read each other, with one run per item.useLoadHandles(from feat(tanstack-react-query):useLoadHandles()loads handles on a page without a loader #8212) takes these entries too:experimental_dataOfandexperimental_perItemin a client component, without a loader.experimental_inferQueryHandleOfItem/experimental_inferInfiniteQueryHandleOfItem: type an unfinished handle by procedure, so a component can take and finish one without the page's handle type.Links
Alternatives considered
dataOfcallback: entry types don't record what they read, so TanStack couldn't type unfinished handles.Testing
handles.shared.test.tsx(TanStack entries only, no bareexperimental_query()) andhandles.dataOf.test.tsxandhandles.test.tsx, where each review fix names its test, also in its review reply.www/src/demos/demos.test.tscovers batching, cancellation and per-item queries.AI model
Claude Opus 5.5, via Claude Code
🤖 Generated with Claude Code
Summary by CodeRabbit