Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

Moving data fetching between client and server with SWR

33,430 Aufrufe • vor 1 Jahr •via X (Twitter)

8 Kommentare

Profilbild von Kiran
Kiranvor 1 Jahr

Can we do the same with RQ too, right?

Profilbild von Alex Sidorenko
Alex Sidorenkovor 1 Jahr

Yep

Profilbild von Polygon.io
Polygon.iovor 1 Jahr

Learn how to access market data using Polygon's Stock API and the Python programming language.

Profilbild von Yudistira Ashadi
Yudistira Ashadivor 1 Jahr

what is your recommendation: Tanstack Query or SWR?

Profilbild von Alex Sidorenko
Alex Sidorenkovor 1 Jahr

Previously Tanstack Query. Now, with the app router, probably SWR, as it is from the Next team, and they'll probably continue to work on better integration with server components. Also, I start without data fetching lib by default and fetch on the server as it is simpler

Profilbild von The Martian
The Martianvor 1 Jahr

Love it now that your voice is heard!

Profilbild von Ezequiel Parziale
Ezequiel Parzialevor 1 Jahr

swr + fetcher + app_router = 🚀

Profilbild von Chris Eagle
Chris Eaglevor 1 Jahr

Using this pattern more and more, always been a fan of SWR from pages router days.

Ähnliche Videos