Loading video...

Video Failed to Load

Go Home

Moving data fetching between client and server with SWR

33,430 views • 1 year ago •via X (Twitter)

8 Comments

Kiran's profile picture
Kiran1 year ago

Can we do the same with RQ too, right?

Alex Sidorenko's profile picture
Alex Sidorenko1 year ago

Yep

Polygon.io's profile picture
Polygon.io1 year ago

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

Yudistira Ashadi's profile picture
Yudistira Ashadi1 year ago

what is your recommendation: Tanstack Query or SWR?

Alex Sidorenko's profile picture
Alex Sidorenko1 year ago

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's profile picture
The Martian1 year ago

Love it now that your voice is heard!

Ezequiel Parziale's profile picture
Ezequiel Parziale1 year ago

swr + fetcher + app_router = 🚀

Chris Eagle's profile picture
Chris Eagle1 year ago

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

Related Videos