Video wird geladen...
Video konnte nicht geladen werden
Prefetching Tanstack Query in a server component
56,536 Aufrufe • vor 1 Jahr •via X (Twitter)
11 Kommentare

The code for QueryClientProvider with Server Components

Are you searching for a simple way to deploy device certificates with #Intune? Check out SCEPman at

Super underrated. One of the things that I mentioned here.

Can we use with suspense ?

Yep, will make a separate vid about suspense and streaming

This is perfect, bringing all the power of the Tanstack React Query into server components, revalidation and integrations with client components. This is a true work of art.

Server components don't really need the power of the client-side fetching libraries by default. You can just fetch data on the server. This is useful when migrating existing SPA to server components or explicitly needing a client component.

I am using the same, with suspense. It works like a charm

Damn I thought I had to pass initial data!

answering all my quetsions! trpc next????

Made a todo for a vid In the meanwhile, there seems to be a guide in the docs
