Next.js Discord

Discord Forum

React Query or SWR?

Answered
Eastern yellowjacket posted this in #help-forum
Open in Discord
Eastern yellowjacketOP
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
@Eastern yellowjacket 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
@Eastern yellowjacket solved?
Eastern yellowjacketOP
@B33fb0n3 yes, I choose react-query 😄 thanks
Sure thing