4 ms·
I switched from Express to Koa for a few months now and I honestly don’t understand why this doesn’t seem to be the trend. It was a simple transition but everyt
by kristiandupont 8y ago
I switched from Express to Koa for a few months now and I honestly don’t understand why this doesn’t seem to be the trend. It was a simple transition but everything feels more correct to me, and easier to reason about.
- eknkc 8y agoI've been using Koa for a couple of years now. It is a lot better than express in terms of middleware layout and the API.
- sonnyblarney 8y agoYou'd be surprised at how abstractions are not useful until they really are. 'basic works'. Especially if it's familiar.
- h1d 8y agoHave been using Koa for a while but I guess Express got its name too famous for any predecessor to take over as JS's web framework even if it means built by the same author. For one, people pick from number of github stars which is about 40k vs 20k and when you google for node web framework, Express is of course on the first page and Koa is not and for those who read blogs and books from only a few years back, they all talk about Express.
- growtofill 8y agoDoesn't Express have a better selection of middleware?
- IggleSniggle 8y agoGreenfield project, I wanted Koa but didn’t have a strong argument, my team chose Express because of its dominance. I would still prefer koa.
- openbasic 8y agohttps://npm.anvaka.com/#/view/2d/koa https://npm.anvaka.com/#/view/2d/koa 40 nodes, with one being an "unspecified" license. That's a reason not to switch.