Загрузка видео...
Не удалось загрузить видео
Moving data fetching between client and server with SWR
33,430 просмотров • 1 год назад •via X (Twitter)
Комментарии: 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.
