T
TanStack6mo ago
sunny-green

nextjs migration

hey there. i'm potentially looking at migrating from nextjs - we have ~8m build times, ~60s initial HMR builds locally, and site navigation often feels slower than it should be - it's really not optimal. i'm therefore wondering if tanstack is a viable option to migrate to - it's amazing that we can deploy anywhere (we have vercel right now, but might be looking for cloudflare since it's cheaper and less painful to deal with). a lot of our data fetching is clientside (supabase-like), and i like the first party support for server actions + RSC (which vite doesn't have as of yet). also, what would the migration complexity be like? it's all react so should be fine, but is there any estimate that someone else has with their app?
9 Replies
sunny-green
sunny-greenOP6mo ago
additionally i'm wondering if it's worth it right now since tss is on v0, so would it be worth it waiting for v1 or something?
fascinating-indigo
fascinating-indigo6mo ago
we kinda have a same problem with nextjs (slow build & hmr) and more clientside data fetching, but in my case im migrating to react-router(rr7) (vite-based) which i believe build/hmr wise would be the same between tss and rr7 but really considering tss for future projects for me personally im waiting for devinxified project done in and i might actually deploying to prod with tss
sunny-green
sunny-greenOP6mo ago
rr7 doesnt have server action support which is the killer for me, i dont want an api for everything - the dx is just too nice whats that?
fascinating-indigo
fascinating-indigo6mo ago
Tanner Linsley (@tannerlinsley) on X
We're right in the middle of "devinxi" (removing Vinxi from @Tan_Stack Start for just Vite + Nitro + h3), and we decided to give Start some awesome quality of life improvements while we're in the guts of it. Here's *some* of the lower hanging fruit (there's even more): - Jumping
X
fascinating-indigo
fascinating-indigo6mo ago
currently tss server is built on top of vinxi
sunny-green
sunny-greenOP6mo ago
thats already optin tho
fascinating-indigo
fascinating-indigo6mo ago
wow really? i guess im not updated, id check it tomorrow
xenial-black
xenial-black6mo ago
no vinxi is still being used in start but we are making good progress to remove it right now
sunny-green
sunny-greenOP6mo ago
my bad, thought there was a feature flag to enable nitro

Did you find this page helpful?