
Your Framework is Showing
Your Framework is Showing êŽë š
Warning
this post criticises the React and Next.js frameworks. Cultists with a weak disposition may struggle to disassociate themselves and feel personally attacked. Take a deep breath, remember that React is a tool and not a lifestyle choice, youâll be ok
Imagine youâre browsing the web. You visit a website that appears to have fully rendered. Youâre two paragraphs into reading the content and thenâŠ

The entire website vanishes before your very eyes!
Nothing remains but a solitary error message in the centre of a bleak page. Black text on white, or white text on black, because dark mode support is still priority.
Application error: a client-side exception has occurred (see the browser console for more information).
You donât need to imagine it. Just visit any domain infected by the blight that is Next.js and this error can jump scare you. Vercelâs popular React-as-a-service[1] product is a plague on the web and a liability to any business that uses it.

Maybe youâve visited or built a Next.js thing and never seen this error? Oh good for you! The error is real has been reported on for months to no avail.
Obliteration
There are so many things wrong with this error. Letâs start with the fact that itâs obviously not written for regular visitors. Why is it shipped in production code? Itâs an error of last resort for developers and yet provides scant detail.
If a website is nothing but an error, that means something has gone catastrophically wrong to the point of no recovery. But this error occurs long after a perfectly readable page has rendered. It can take several seconds before the page vanishes. There is absolutely no need for client-side JavaScript âhydrationâ to obliterate an entire page.
Bug Reports
Is this one bug in Next.js, or can we point the âskill issueâ finger at developers? Either the framework authors, or the developers using it, are doing something very, very wrong (itâs both). Evidently, neither party are able to avoid this error.
Attempts to report the issue on the Next.js GitHub repo are automatically closed by a bot. Multiple reports include evidence of the error occurring on nextjs.org.

The Next.js documentation is not immune to this error (vercel/next.js/#79622))
vercel/next.js/#79622) â 26th May â25vercel/next.js/#78518) â 24th Apr â25 (I tried)vercel/next.js/#75637) â 04th Feb â25vercel/next.js/#65772) â 15th May â24vercel/next.js/#48635) â 20th Apr â23 (remains open)
Now in fairness âit doesnât workâ is not a helpful bug report. But when youâve designed your framework to throw âit doesnât workâ errors in production, what do you expect? Youâd think such a critical issue that randomly takes down high profile websites, including the Next.js website itself, would be a priority? Apparently not.
Considering the prevalence and longevity of this error I suspect the mountain of complexity and footguns within Next.js make it impossible to track down any one cause. Have they tried looking at âthe browser console for more informationâ?
Whatever is at fault here, the resulting error is still a major issue unto itself. If HTML is pre-rendered on the server there is absolutely no reason to ever replace the entire page with an error, regardless of client-side bugs. It doesnât need to work that way.

Put The Framework Down
If youâre a developer, please do the web a favour by not building upon broken legacy tech. Next.js is a rotten incompetent framework with no signs of improvement. It canât even do basic metadata properly. If a framework canât handle such fundamentals itâs not fit for purpose. When a framework tries to cover up embarrassing security vulnerabilities, maybe itâs not a good choice?
Some â for the sake of my mentions: not you â React and Next.js fanboys are so trapped in a bubble they think the web and React are synonymous. Some have learnt to code nothing else. Sorry, the web is not React. It never was. Itâs time to wake up and face reality. Stop drinking the Kool-Aid and escape Facebook & Vercelâs fever dream.
Have you considered that you donât need a JavaScript framework to build a website?
Something to think about.
Sources on 'React'(1)
A legacy JavaScript framework (turned religion). Favoured by tech bros and famous for bloated bundles and crippling web performance. â©ïž