frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

One year with Next.js App Router and why we're moving on

https://paperclover.net/blog/webdev/one-year-next-app-router
48•nnx•4h ago

Comments

mayaj47•4h ago
have you tried Nuxt.js
skeptrune•3h ago
>This is because when Next.js loads the actual Server Component, no matter what, the entire page re-mounts. I was begging Next.js to just update the existing DOM and preserve state, but it just doesn't.

YES! YES! I FEEL SO SEEN RIGHT NOW! I find this behavior unbelievably frustrating. It's hard for me to understand why they ever even shipped RSC's without fixing this.

sibeliuss•3h ago
Our experience entirely. We replaced next.js with a simple router and everything in every sense got simpler, and FASTER. It was a remarkable education, replacing that crazy thing.
383toast•2h ago
yeah RSC is totally unnecessary it turns out
terandle•7m ago
It's a good idea in theory, the perf just needs to be better. Maybe with bun.
383toast•2h ago
...or just not use server components :)
383toast•2h ago
and watch your code be 10x easier to reason about.
383toast•2h ago
... oh wait that's what the author ended up doing LOL
hdjrudni•1h ago
I'm surprised so many people drank the RSC koolaid. I tried it for maybe an hour and it became painfully obvious very quickly how much harder it is to build something that used to be simple.

I just don't understand the use-case either.

Either you're building an SEO-optimized website and you want that initial page load to be as fast as possible. In this case, just build a static website. Use whatever technology you desire and compile to HTML+CSS.

Or you're building an "app" in which case you should expect users to linger around for a bit and that fat initial payload will eventually be cached, so you really don't need to sending it down on every click. So go full-on with the client-side rendering and simplify your stack a little. You can still do a lot of optimizations like code-splitting and prefetching and this and that, but we don't need this weird mixed modality where some things work in one place but not the other.

Which is pretty much what the author says and I'm glad to see people start to realize this.

culi•42m ago
> Or you're building an "app" [...] So go full-on with the client-side rendering

I wish companies would take this a step further still and just build a PWA. This gives you access to so many web APIs that can further simplify your stack.

I agree that it's bewildering to see how many companies reach for Nextjs for webapps that don't need SEO optimization but some of the more complex rendering strategies can still be useful for web apps as well. Even for PWAs

PebblesHD•2h ago
I have yet to reach the limits of doing a Vite create and installing react router myself for the several entirely client side apps we manage. It has sane build defaults and for whatever definition of ‘works’ is possible in JS, ‘just works’. If it becomes too complex for that basic setup it usually means we’ve over-complicated something.

Where we have a need for server side, nodejs just never felt natural for us so we stuck with java springboot or flask/fastapi as appropriate.

383toast•2h ago
ever since react router got merged with remix to become react router v7, I looked around for simpler version, landed on Wouter which is fine.
petralithic•2h ago
TanStack is the sane option here, whether their router or their start product.
culi•52m ago
I'd love to hear more about what motivated the switch. All the additions to react-router are, afaict, opt-in. React-router has 3 "modes"[0] and the declarative mode seems pretty much exactly what the classic library is like with some extra components/features you don't have to use

Thought I've enjoyed the code-splitting and access to SPA/SSR/SSG/etc strategies that come with the "framework" mode

[0] https://reactrouter.com/start/modes

nozzlegear•2m ago
I've been using wouter in all of my projects for years after being burned by some react router migration bullshit eons ago.
zenethian•2h ago
It feels like so much work has been done to just end up going full circle back to Django-style website applications. All of these frameworks have continually re-solved problems that were already solved in something other than Javascript, and then people write blogs about how they're surprised about it. It feels a bit uncanny to see.
aaronbrethorst•1h ago
Promo packets are a hell of a drug
figassis•1h ago
Around 8y ago, when Angular vs React was still a war worth reading, frameworks were I think in their final state. They gave you basic tools, and you could build applications with them. I felt like framework creators didn’t treat us like babies who needed handholding. Idk if a new generation of younger developers took over, but things started becoming too shiny. Blog posts were no longer about performance, ease of use, same solutions. I couldn’t even understand some post titles. There is just no bandwidth to follow these things anymore. Why is a router a thing that needs to be continually rebuilt and tinkered with. Did we not learn ages ago how routers should work? What innovation are we seeking? Is it just developers treating frameworks like their weekend experiments?
sanskarix•45m ago
You've captured something important here. There's been a shift from "solve problems" to "create novel patterns." The incentives are all wrong—framework authors get validation from innovation theater, not from boring reliability.

I think part of it is that the web developer community exploded. More developers = more people trying to make their mark = more churn. Everyone wants to be the person who "fixed React" or "reimagined routing."

But when you're actually building a product that users depend on, you realize how much of a tax this is. Every framework "upgrade" that breaks things is time NOT spent on features, user feedback, or actual problems.

The irony is that the best products are often built with "boring" tech that just works. Instagram ran on Django for years at massive scale. Basecamp is still Rails. These teams focused on users, not on having the hottest stack.

What frameworks/tools have you found that stayed stable and just worked over the years?

twicetwice•2m ago
what's the moderation policy/etiquette for calling out obviously LLM-generated comments? doing so feels like more heat than light, but letting them pass by without saying anything feels like another step towards a dead internet.
Swizec•40m ago
> Why is a router a thing that needs to be continually rebuilt and tinkered with. Did we not learn ages ago how routers should work?

Nyes. The biggest innovation in the past 5 years has been routers that can coordinate loading data because they’re perfectly positioned to know what you’re about to access.

This is a hard problem that we’ve been solving forever. It feels like super tedious formulaic work to write an optimized SQL query or series of API requests that fetches all the necessary data with the fewest possible lookups. So we try to automate it with a sufficiently smart compiler of some sort. Query planners inside a database, ORMs, graphql, routers, memory managing compilers, it’s all chasing the same dream – what if the computer Just Knew the quickest way to grab just the right amount of data.

sanskarix•1h ago
The issue is everyone's optimizing for blog post metrics, not actual problems. "Look at this new pattern!" gets clicks. "We kept it simple and it just works" doesn't. Same thing happened with microservices - everyone rushed in because it sounded cool, then spent years dealing with distributed systems hell.
Zaheer•59m ago
The biggest facepalm moment I had was when we switched Levels.fyi from gulp.js to next.js. Our pagespeed, hosting costs, etc all took a significant hit. We're experiencing the same issues as described in the post and weighing our options to transition as well. Avoid next.js / vercel at all costs.
culi•47m ago
What did you end up doing? Are you still on nextjs? Big fan of levels.fyi btw. Thanks for your work
Zaheer•38m ago
Appreciate it! We're still on nextjs. Will def put a blogpost together as we optimize / move away. Thankfully, AI makes large-scale mostly repetitive migrations like these much simpler.
yieldcrv•11m ago
Where would you prefer to deploy now?

Anybody passing by please share too

chuliomartinez•55m ago
Tanstack lack of back button handling is infuriating. Throwing away users data is simply not acceptable.

Is Wouter better in this regard?

bni•31m ago
I use the Pages router. Doing it this way make sense to me in a way that SPAs never did.

Uv is the best thing to happen to the Python ecosystem in a decade

https://emily.space/posts/251023-uv
1485•todsacerdoti•12h ago•803 comments

Tell HN: Azure outage

724•tartieret•15h ago•669 comments

Minecraft removing obfuscation in Java Edition

https://www.minecraft.net/en-us/article/removing-obfuscation-in-java-edition
673•SteveHawk27•14h ago•243 comments

How ancient people saw themselves

https://worldhistory.substack.com/p/how-ancient-people-saw-themselves
60•crescit_eundo•3d ago•13 comments

China has added forest the size of Texas since 1990

https://e360.yale.edu/digest/china-new-forest-report
474•Brajeshwar•1d ago•375 comments

Carlo Rovelli’s radical perspective on reality

https://www.quantamagazine.org/carlo-rovellis-radical-perspective-on-reality-20251029/
22•vismit2000•2h ago•11 comments

IRCd service (2024)

https://example.fi/blog/ircd.html
50•pabs3•4h ago•11 comments

Raspberry Pi Pico Bit-Bangs 100 Mbit/S Ethernet

https://www.elektormagazine.com/news/rp2350-bit-bangs-100-mbit-ethernet
121•chaosprint•7h ago•36 comments

One year with Next.js App Router and why we're moving on

https://paperclover.net/blog/webdev/one-year-next-app-router
49•nnx•4h ago•28 comments

Hello-World iOS App in Assembly

https://gist.github.com/nicolas17/966a03ce49f949dd17b0123415ef2e31
41•pabs3•4h ago•8 comments

Dithering – Part 1

https://visualrambling.space/dithering-part-1/
278•Bogdanp•12h ago•61 comments

Kafka is Fast – I'll use Postgres

https://topicpartition.io/blog/postgres-pubsub-queue-benchmarks
367•enether•17h ago•272 comments

Iommi – your first pick for a Django power chord

https://iommi.rocks/
11•boxed•4d ago•1 comments

Board: New game console recognizes physical pieces, with an open SDK

https://board.fun/
180•nicoles•1d ago•73 comments

OS/2 Warp, PowerPC Edition (2011)

https://www.os2museum.com/wp/os2-history/os2-warp-powerpc-edition/
47•TMWNN•7h ago•26 comments

Tailscale Peer Relays

https://tailscale.com/blog/peer-relays-beta
288•seemaze•14h ago•84 comments

OpenAI’s promise to stay in California helped clear the path for its IPO

https://www.wsj.com/tech/ai/openais-promise-to-stay-in-california-helped-clear-the-path-for-its-i...
182•badprobe•13h ago•242 comments

GLP-1 therapeutics: Their emerging role in alcohol and substance use disorders

https://academic.oup.com/jes/article/9/11/bvaf141/8277723?login=false
181•PaulHoule•2d ago•86 comments

AOL to be sold to Bending Spoons for $1.5B

https://www.axios.com/2025/10/29/aol-bending-spoons-deal
222•jmsflknr•14h ago•189 comments

Keep Android Open

http://keepandroidopen.org/
2405•LorenDB•1d ago•763 comments

Why imperfection could be key to Turing patterns in nature

https://arstechnica.com/science/2025/10/why-imperfection-could-be-key-to-turing-patterns-in-nature/
12•furcyd•2d ago•0 comments

The Internet runs on free and open source software and so does the DNS

https://www.icann.org/en/blogs/details/the-internet-runs-on-free-and-open-source-softwareand-so-d...
135•ChrisArchitect•12h ago•11 comments

How the U.S. National Science Foundation enabled Software-Defined Networking

https://cacm.acm.org/federal-funding-of-academic-research/how-the-u-s-national-science-foundation...
73•zdw•9h ago•19 comments

A century of reforestation helped keep the eastern US cool (2024)

https://news.agu.org/press-release/a-century-of-reforestation-helped-keep-the-eastern-us-cool/
113•softwaredoug•7h ago•14 comments

Crunchyroll is destroying its subtitles

https://daiz.moe/crunchyroll-is-destroying-its-subtitles-for-no-good-reason/
264•Daiz•7h ago•84 comments

Extropic is building thermodynamic computing hardware

https://extropic.ai/
120•vyrotek•12h ago•84 comments

More than DNS: Learnings from the 14 hour AWS outage

https://thundergolfer.com/blog/aws-us-east-1-outage-oct20
101•birdculture•2d ago•29 comments

Eye prosthesis is the first to restore sight lost to macular degeneration

https://med.stanford.edu/news/all-news/2025/10/eye-prosthesis.html
213•gmays•1w ago•16 comments

Composer: Building a fast frontier model with RL

https://cursor.com/blog/composer
187•leerob•15h ago•142 comments

How to Obsessively Tune WezTerm

https://rashil2000.me/blogs/tune-wezterm
87•todsacerdoti•11h ago•51 comments