Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Prefetching Tanstack Query in a server component

56,536 Aufrufe • vor 1 Jahr •via X (Twitter)

11 Kommentare

Profilbild von Alex Sidorenko
Alex Sidorenkovor 1 Jahr

The code for QueryClientProvider with Server Components

Profilbild von glueckkanja
glueckkanjavor 4 Jahren

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

Profilbild von Tiger Abrodi
Tiger Abrodivor 1 Jahr

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

Profilbild von Artem Kostylev
Artem Kostylevvor 1 Jahr

Can we use with suspense ?

Profilbild von Alex Sidorenko
Alex Sidorenkovor 1 Jahr

Yep, will make a separate vid about suspense and streaming

Profilbild von Fardo
Fardovor 1 Jahr

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.

Profilbild von Alex Sidorenko
Alex Sidorenkovor 1 Jahr

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.

Profilbild von Miloš Ristić
Miloš Ristićvor 1 Jahr

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

Profilbild von Rodrigo Ehlers
Rodrigo Ehlersvor 1 Jahr

Damn I thought I had to pass initial data!

Profilbild von jacob
jacobvor 1 Jahr

answering all my quetsions! trpc next????

Profilbild von Alex Sidorenko
Alex Sidorenkovor 1 Jahr

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

Ähnliche Videos