Is it worth updating from the old T3 stack to new?
Hi, I was hoping to get some consensus on a decision about whether I should upgrade my application to the latest T3 stack and would love your input
Current stack
Next pages router, Clerk, Planetscale, Prisma, TRPC. Not a huge or complex app (my experience is mid-senior on frontend, early-mid on backend)
Current Issues
Planetscale's free tier has made
switching to a different database a nightmare. I've heard Supabase is nice but it doesn't play well with Prisma. There's a widening gap between new technologies that are only being set up for app router and I'm worried about the lifetime of pages router.
Trepidations
Clerk and app router notoriously don't work well together, and NextAuth is notoriously horrifying as well. I have very little users and data overall, so all the work needed to do the update.
Is it worth upgrading to the latest T3 stack? There seem to be tradeoffs going both ways, and right now it's very tempting to just spend $40/month at Planetscale to handle my whopping 100 rows of data even though my app makes no money just to not deal with the pain and frustration, but would love to get your input for a currently jaded developer
5 Replies
I'm personally using the free vercel db & it works well, quite nice just having everything within vercel. 40$/month for 100 rows is kinda mad, might as well use a google sheet instead. i'd just migrate to vercel db.
NextAuth definitely don't touch imo, docs are poor and they're in the process of abandoning the current version for a rewrite, maybe have a look at lucia auth instead or give clerk another try, their nextjs docs seem to have been recently updated.
Using clerk and app router. Haven’t had any issues. Integration is pretty simple
Do you use TRPC with Clerk? The documentation on Clerk's page is still for pages router (https://clerk.com/docs/references/nextjs/trpc) and I'd like to stay on app router. This page has come up as a solution, but I haven't tried to implement it yet - https://gist.github.com/mkcode/a590d1c8f7b0a37b8299965de7f7e958
Ah I don’t use trpc
I would maybe try asking their discord
Very helpful
I would maybe try the gist on a demo app and see how it goes
Yeah that's what I'm trying to go with. Thanks friend 🙏