5 ms·
koa-router was owned by @alexmingoia and not by @koajs. Still it is a central piece of the koa framework that compromises practically every koa setup. The only
by javitury 8y ago
koa-router was owned by @alexmingoia and not by @koajs. Still it is a central piece of the koa framework that compromises practically every koa setup. The only alternative I have found is this:
https://github.com/koajs/trie-router https://github.com/koajs/trie-router
The transition from express to koa has been slow, and this doesn't help. It will undermine the confidence on the koa framework.
- bearmcbearsly 8y agoNow that you can trivially use async functions as express handlers, what are the major benefits of transitioning to Koa?
- Sytten 8y agoNone to be honest. I migrated my projects back to express. Most of the packages for koa are either unmaintained or not very active.
- move_zig 8y agoI regularly use async functions as handlers in Express, but I always include a try ... catch block inside each one. What's the trivial way to use them?
- midway 8y agoTurn-key ready http2 which is significantly faster.