vercel / nextjs-subscription-payments

Clone, deploy, and fully customize a SaaS subscription application with Next.js.
https://subscription-payments.vercel.app/
MIT License
5.77k stars 1.18k forks source link

Is tanstack query a meaningful edition for this template. #345

Open codergigachad opened 4 weeks ago

codergigachad commented 4 weeks ago

I want to build a production app with this template. I recently watched this video of uidotdev https://youtu.be/OrliU0e09io?si=9yntB1Lq2PBUgecg. Here, he described the use of tanstack query for making production grade apps. This template has used @supabase/ssr package to fetch the data from supabase. In this video tanstack query is being used with supabase. https://youtu.be/iJpTo1Kwb0g?si=a-qcuwpD1LT6ZJ8m My main question is should I use tanstack query or is it unncessary for this template. What are the benefits for performance/ux/dx?