Video yükleniyor...

Video Yüklenemedi

Ana Sayfaya Dön

Prefetching Tanstack Query in a server component

56,536 görüntüleme • 1 yıl önce •via X (Twitter)

11 Yorum

Alex Sidorenko profil fotoğrafı
Alex Sidorenko1 yıl önce

The code for QueryClientProvider with Server Components

glueckkanja profil fotoğrafı
glueckkanja4 yıl önce

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

Tiger Abrodi profil fotoğrafı
Tiger Abrodi1 yıl önce

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

Artem Kostylev profil fotoğrafı
Artem Kostylev1 yıl önce

Can we use with suspense ?

Alex Sidorenko profil fotoğrafı
Alex Sidorenko1 yıl önce

Yep, will make a separate vid about suspense and streaming

Fardo profil fotoğrafı
Fardo1 yıl önce

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.

Alex Sidorenko profil fotoğrafı
Alex Sidorenko1 yıl önce

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.

Miloš Ristić profil fotoğrafı
Miloš Ristić1 yıl önce

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

Rodrigo Ehlers profil fotoğrafı
Rodrigo Ehlers1 yıl önce

Damn I thought I had to pass initial data!

jacob profil fotoğrafı
jacob1 yıl önce

answering all my quetsions! trpc next????

Alex Sidorenko profil fotoğrafı
Alex Sidorenko1 yıl önce

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

Benzer Videolar