正在加载视频...

视频加载失败

Moving data fetching between client and server with SWR

33,430 次观看 • 1 年前 •via X (Twitter)

8 条评论

Kiran 的头像
Kiran1 年前

Can we do the same with RQ too, right?

Alex Sidorenko 的头像
Alex Sidorenko1 年前

Yep

Polygon.io 的头像
Polygon.io1 年前

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

Yudistira Ashadi 的头像
Yudistira Ashadi1 年前

what is your recommendation: Tanstack Query or SWR?

Alex Sidorenko 的头像
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 Martian 的头像
The Martian1 年前

Love it now that your voice is heard!

Ezequiel Parziale 的头像
Ezequiel Parziale1 年前

swr + fetcher + app_router = 🚀

Chris Eagle 的头像
Chris Eagle1 年前

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

相关视频