Video yükleniyor...
Video Yüklenemedi
Prefetching Tanstack Query in a server component
56,536 görüntüleme • 1 yıl önce •via X (Twitter)
11 Yorum

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
Benzer Videolar
How to recover from a server component error in Next.js
Alex Sidorenko
67,557 görüntüleme • 1 yıl önce
