u/ResearchSpiritual352

▲ 1 r/nextjs

Is it a mistake to keep everything in route handlers now that server actions exist?

I've been on the App Router for about a year and a half, on an internal dashboard with somewhere around 40 routes. I've kept nearly all my mutations in route handlers because the validation and error shapes were already wired up there, and i only reach for server actions when a form is trivial. I know the docs treat actions as the default now and I've read the argument about not shipping an extra endpoint, I'm just not sure that's worth rewriting a layer that currently works fine.

What made you move your existing route handlers over to server actions?

reddit.com

What should I buy for $18k that'll survive a 60-mile daily commute?

Budget is $18k out the door, cash, used, 2018 or newer. Midwest, so cold winters and salted roads. Sedan or small SUV, no strong preference. Must be reliable above all else, decent on gas, CarPlay. No manual because my wife drives it too.

Commute is 60 miles a day, mostly highway. Current car is a 2011 Altima that's starting to nickel-and-dime me and I'd rather get out before the transmission goes.

Looked at Camry and Accord but a clean one eats the whole budget. Anything less obvious worth considering?

reddit.com
u/ResearchSpiritual352 — 15 days ago