正在加载视频...
视频加载失败
Moving data fetching between client and server with SWR
8 条评论

Kiran1 年前
Can we do the same with RQ too, right?

Alex Sidorenko1 年前
Yep

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

Yudistira Ashadi1 年前
what is your recommendation: Tanstack Query or SWR?

Alex Sidorenko1 年前
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 年前
Love it now that your voice is heard!

Ezequiel Parziale1 年前
swr + fetcher + app_router = 🚀

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