Video wird geladen...
Video konnte nicht geladen werden
Moving data fetching between client and server with SWR
33,430 Aufrufe • vor 1 Jahr •via X (Twitter)
8 Kommentare

Kiranvor 1 Jahr
Can we do the same with RQ too, right?

Alex Sidorenkovor 1 Jahr
Yep

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

Yudistira Ashadivor 1 Jahr
what is your recommendation: Tanstack Query or SWR?

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

The Martianvor 1 Jahr
Love it now that your voice is heard!

Ezequiel Parzialevor 1 Jahr
swr + fetcher + app_router = 🚀

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