Video yükleniyor...
Video Yüklenemedi
Moving data fetching between client and server with SWR
33,430 görüntüleme • 1 yıl önce •via X (Twitter)
8 Yorum

Kiran1 yıl önce
Can we do the same with RQ too, right?

Alex Sidorenko1 yıl önce
Yep

Polygon.io1 yıl önce
Learn how to access market data using Polygon's Stock API and the Python programming language.

Yudistira Ashadi1 yıl önce
what is your recommendation: Tanstack Query or SWR?

Alex Sidorenko1 yıl önce
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 Martian1 yıl önce
Love it now that your voice is heard!

Ezequiel Parziale1 yıl önce
swr + fetcher + app_router = 🚀

Chris Eagle1 yıl önce
Using this pattern more and more, always been a fan of SWR from pages router days.
