News for hackers. Stuff that matters.

Ask HN: The whole NextJS situation is overwhelming

NextJS came to save us all, until it became a mess. The front-end framework drama has been going on for at least a decade. Theoretically, could we even have some sane resolution with clear choices within the next 5 years? What can it look like?
( 13 comments | 4 points | on HN )
Re:Ask HN: The whole NextJS situation is overwhelming by _rm on Sunday April 13, 2025 @09:41AM (#43672739)
Yeah the solution is no framework and have an AI generate your front end
Re:Ask HN: The whole NextJS situation is overwhelming by xenospn on Sunday April 13, 2025 @11:30AM (#43673503)
Does that actually work? I can’t imagine trying to find a bug in a sea of AI generated JS
Re:Ask HN: The whole NextJS situation is overwhelming by owebmaster on Sunday April 13, 2025 @09:47AM (#43672773)
I second that. React is not needed anymore, much less nextjs. People should break free from these shackles
Re:Ask HN: The whole NextJS situation is overwhelming by mbelen on Sunday April 13, 2025 @10:38AM (#43673135)
But using what, just js + html + css, for anything moderately complex this will become impossible. Even all AI agents will have easier time using some framework as it will be easier to comprehend most likely
Re:Ask HN: The whole NextJS situation is overwhelming by owebmaster on Sunday April 13, 2025 @11:26AM (#43673462)
> for anything moderately complex this will become impossible.

It won't. You actually remove complexity by removing unnecessary dependencies.

You can organize your code the same way you would with React: components, state management, reactivity. It is all there within JS+HTML+CSS without 100kbytes of minified JS.

Re:Ask HN: The whole NextJS situation is overwhelming by solardev on Sunday April 13, 2025 @01:13PM (#43674269)
Sounds great until someone else needs to maintain it. I'd never want to touch a codebase like that...
Re:Ask HN: The whole NextJS situation is overwhelming by Hackbraten on Sunday April 13, 2025 @08:59AM (#43672486)
What situation and what mess? Would you mind being a bit more specific?
Re:Ask HN: The whole NextJS situation is overwhelming by mbelen on Sunday April 13, 2025 @09:15AM (#43672586)
I was mainly referring to the levels of complexity that keep piling up in the front-end world. The main reason, I wrote this is because I spent a day debugging and trying to understand one of the newer caching-by-default behaviours introduced by Next 15 in attempts to solve previous caching behaviours mistakes they made.

But in my post I was referring to the overall state of the front-end tools right now and the frustration that comes with it. From one side it's the best time to build things and see how far we've come. On the other hand it can feel like the unnecessary complexity of our tools only increases rather than making things simpler, I was interested to hear some ideas of where we might end up with all this and how soon

Re:Ask HN: The whole NextJS situation is overwhelming by mubou on Sunday April 13, 2025 @10:18AM (#43672994)
Blaming all of frontend for Next.js' issues is a bit much, but I agree; people have been complaining about Next.js for a long time. It's slow, complicated, and a PITA if you need to do anything outside the box.

Unfortunately, options for SSR in React are all pretty limiting compared to other languages' frameworks, unless you go the full DIY route which isn't usually feasible.

Of course, if you don't need SSR there's no reason to chain yourself to Next and Vercel's whims. Starting a React project from scratch is a lot less painful now with Vite (there was a time when just setting up Webpack & stuff took half a work day).

This is just my personal experience, however. I know a lot of people live and die by Next.js.

Re:Ask HN: The whole NextJS situation is overwhelming by mbelen on Sunday April 13, 2025 @10:37AM (#43673130)
nextjs is great in a sense that it allows to make full stack apps very conviniently. Making an api endpoint is just creating a file. If only there was less stuff in between though
Re:Ask HN: The whole NextJS situation is overwhelming by solardev on Sunday April 13, 2025 @01:14PM (#43674281)
You can use Next with the page router and it's lot simpler. Or Astro?
Re:Ask HN: The whole NextJS situation is overwhelming by mubou on Sunday April 13, 2025 @01:36PM (#43674427)
"Simpler" doesn't necessarily mean better. Next is convenient as long as you stay inside the box, but it's very limiting otherwise (that is, it doesn't adapt to a wide variety of usecases, but rather forces you to adapt to it -- that's my main gripe).
Re:Ask HN: The whole NextJS situation is overwhelming by solardev on Sunday April 13, 2025 @01:53PM (#43674551)
Absolutely. I agree with you.