Skip to content
Artwork for Better with Kent
Better with Kent · Today · 13 min

I Migrated From Remix to TanStack Start

My agents spent months rebuilding a client-side router Remix didn't have. So I moved Kody from Remix V3 to TanStack Start. Here are the problems I hit, how Tanner Linsley got me migrated in a single PR, and what happened to the numbers. Better with Kent - durable skills for people who ship software. Thank you to Sentry for sponsoring this episode: https://kcd.link/sentry My agents spent months rebuilding a client-side router that Remix V3 doesn't ship. Production kept handing us stacked layouts, infinite route-load loops, flashes of loading state, and broken scroll restoration, and we ended up with about 38 router PRs. So Tanner Linsley migrated Kody to TanStack Start in a single PR: 394 commits, 2,288 files changed, and over 193,000 lines modified. In this episode I show the problems that started it, how a signed-cookie opt-in let us test TanStack Start in production before the cutover, and what changed afterward. We're not using React, we're using Redact, Tanner's experimental smaller React. The wins were real (Lighthouse mobile 75 to 98, LCP 5.29s to 1.15s), but not everything got smaller or faster, and the before numbers were reconstructed after the fact, not measured live in production. Then the lessons: watch whether your agents are building framework features or app features, use numbers as guardrails, canary behind a tiny allow list, build deploy-skew recovery before the cutover, and budget for cleanup. Frameworks do still matter. What do you think? Tell me in the comments. Links Sentry (sponsor) Migration PR (kody-hq/kody#3561) Stacked-shell fix (kody-hq/kody#2388) Route-load loop fix (kody-hq/kody#1449) TanStack Start Kody Better with Kent Interested in sponsoring a video? https://kentcdodds.com/partnership

0:00-13:00

transcript

No transcript — this publisher did not publish one.

show notes

My agents spent months rebuilding a client-side router Remix didn't have. So I moved Kody from Remix V3 to TanStack Start. Here are the problems I hit, how Tanner Linsley got me migrated in a single PR, and what happened to the numbers.

Better with Kent - durable skills for people who ship software.

Thank you to Sentry for sponsoring this episode: https://kcd.link/sentry

My agents spent months rebuilding a client-side router that Remix V3 doesn't ship. Production kept handing us stacked layouts, infinite route-load loops, flashes of loading state, and broken scroll restoration, and we ended up with about 38 router PRs. So Tanner Linsley migrated Kody to TanStack Start in a single PR: 394 commits, 2,288 files changed, and over 193,000 lines modified.

In this episode I show the problems that started it, how a signed-cookie opt-in let us test TanStack Start in production before the cutover, and what changed afterward. We're not using React, we're using Redact, Tanner's experimental smaller React. The wins were real (Lighthouse mobile 75 to 98, LCP 5.29s to 1.15s), but not everything got smaller or faster, and the before numbers were reconstructed after the fact, not measured live in production.

Then the lessons: watch whether your agents are building framework features or app features, use numbers as guardrails, canary behind a tiny allow list, build deploy-skew recovery before the cutover, and budget for cleanup. Frameworks do still matter.

What do you think? Tell me in the comments.

Links

Interested in sponsoring a video? https://kentcdodds.com/partnership

links8

more episodes

All episodes