News for hackers. Stuff that matters.
Re:Show HN: Remult – a CRUD framework for full-stack TypeScript by dimgl on Sunday May 22, 2022 @08:48PM (#31474297)
I haven't been following the Node ecosystem closely. However Fastify is really interesting. Why choose Fastify over Koa? I've never understood why Koa gets so little love from the Node.js community.
Re:Show HN: Remult – a CRUD framework for full-stack TypeScript by eropple on Sunday May 22, 2022 @10:35PM (#31474854)
Fastify has, IMO, a better Typescript story than any other framework, particularly with Fastify 4. I also prefer Fastify's ergonomics around plugins as scoping to Koa's Connect-derived approach, and I don't really love having a `ctx` object as opposed to req/res (but that one is purely a taste thing).

For me, if I wanted what Koa does, Express does 90% of it and I already know it off the top of my head. And I don't really want Express because I'll have to reinvent a lot of wheels or stack a lot of sorta-compatible middleware on top of one another (Fastify's ecosystem is smaller but generally pretty cohesive).

Nothing at all wrong with Koa, to be clear--I just don't have a use for it.

Re:Show HN: Remult – a CRUD framework for full-stack TypeScript by dimgl on Monday May 23, 2022 @02:47AM (#31476010)
Super cool. I'm gonna give Fastify a shot next time I'm in Node.js land. Thanks!