News for hackers. Stuff that matters.
Re:Next.js App Router Update by joshgermon on Thursday June 22, 2023 @11:50PM (#36442571)
What are the viable alternatives for those who don't care about the API routes but still want some level of pre-rendering / SSR? Staying in the React ecosystem that is.

Remix is always touted as the alternative but it seems like a whole new approach to learn and it's own strong opinions.

I've been using Next for 3+ years but I don't feel confident to start a new project today. Do I go to the dying page router? Or trail blaze with the app router with all the teething issues and issues everyone's encountering (myself included).

Re:Next.js App Router Update by phryneas on Friday June 23, 2023 @04:12AM (#36444148)
API routes are nothing new, and not a big part of the new App router (also, called "route handlers" there). Are you confusing features here?
Re:Next.js App Router Update by joshgermon on Sunday June 25, 2023 @06:55PM (#36473504)
Nope, just saying it's not something I need in the alternative. Doesn't need to be a full stack/backend framework - just focus on frontend and SSR.
Re:Next.js App Router Update by dbbk on Friday June 23, 2023 @07:32AM (#36445428)
To be honest I think Next with the pages router is still the best option you have today.

I'm not convinced the server components experiment is going to work in the end. They might even end up abandoning it.

Re:Next.js App Router Update by samuelstros on Friday June 23, 2023 @10:17AM (#36447126)
Check out vite plugin ssr