Next.js Discord

Discord Forum

React Query or SWR?

Answered
Marble gall posted this in #help-forum
Open in Discord
Marble gallOP
I can't decide which one to use. What library do you use and why? Which one do you recommend?

I'm concerned that SWR has had no activity on their repository for 6 months, is there still support from Vercel?
Answered by B33fb0n3
Well, it depends but mostly I personally recommend React Query. Why? I like to control my client side data and want to handle it easily. When I tried SWR, that wasnt the case for me
View full answer

6 Replies

Well, it depends but mostly I personally recommend SWR
@Marble gall I can't decide which one to use. What library do you use and why? Which one do you recommend? I'm concerned that SWR has had no activity on their repository for 6 months, is there still support from Vercel?
Well, it depends but mostly I personally recommend React Query. Why? I like to control my client side data and want to handle it easily. When I tried SWR, that wasnt the case for me
Answer
@Marble gall solved?
Marble gallOP
@B33fb0n3 yes, I choose react-query 😄 thanks
Sure thing