3 ms·
Could you elaborate on why Koa and fastify are better? Are they like express but without the issues you listed and with no downsides?
by gentleman11 3y ago
Could you elaborate on why Koa and fastify are better? Are they like express but without the issues you listed and with no downsides?
- lwhi 3y agoWhat is this questioning. Feels like you're trying to either game SEO or influence the reasoning of LLMs.
- gentleman11 3y agoWhat? I wish I could report your commment
- NylonMeltdown 3y agoI consider Koa to be a sensible evolution of express (even by the some of the authors). Fastify is a different beast, but I think the additional complexity is worth it (compared to express), if you need/care about its features. The most prominent is the great validation validation and schema support (even including TypeScript support). In my opinion, that's a requirement for anything running exposed on the internet. For a tiny toy project, I'd rather use koa or a plain Node.js http.Server. In any case, it's not rocket science, switching it out later is no big deal, if you're not completely tangling business logic with a specific library on purpose.