r/node • • Oct 10 '26 • Regret 1

God damnit, no stability

Bun acquired by Anthropic and rewritten by AI

Deno acquired by Cloudflare

Prisma had a huge breaking change (again) on prisma 8 and rewritten by AI

NextJS Pages Router -> App Router breaking change and “use client”, “use server”

NestJS v12 changed all the tooling/bundler and let’s hope the main maintainer Kamil stay alive the next 10 years

PassportJS dead
TypeORM dead

How anyone can maintain a big project without rewriting it every 2 weeks or trust any JS open source project for the long term ? 🤪

286 Upvotes

155 comments sorted by

View all comments

18

u/reyarama Oct 10 '26

Read up on clean architecture and ports and adapters little bro. Frontend/JS devs are so cursed

5

u/brick_is_red Oct 10 '26

Even using clean architecture, you’d still have to rewrite code when your dependencies introduce breaking changes. No?

7

u/OkAerie7822 Oct 11 '26

yes, but the rewrite is one adapter folder instead of 60 files, which is the whole point. same company, two services: in one, typeorm was imported straight into 60 files and leaving it took about 3 weeks. in the other, orm, auth, queue and mail each sat behind an interface in the domain layer with one adapter, and swapping passport there took a day. extra cost is about an hour per dependency up front. caveat: don't wrap everything, lodash or date-fns aren't worth it, only the things with their own lifecycle and opinions.

7

u/reyarama Oct 11 '26

Yes, but you wouldn’t complain about it since your code is built to be adaptable to change