Looking for input Koa vs Express – Do not debate

Hi,

First, let’s clarify that I’m not opening this to debate. I’m looking for answers, not arguments.
I started an app using Koa since I heard it has better error handling. But, Express 5 is in developement.

Will express 5 have error handling similar to Koa?
I don’t want to spent most of my time putting error handlers everywhere.

Also, how good is the async/await support in express?

Thanks

Author: Fantashit

1 thought on “Looking for input Koa vs Express – Do not debate

  1. Hi @Extarys , not using Koa day-to-day, I really don’t know exactly how Koa’s error handling is, so cannot easily comment on “Will express 5 have error handling similar to Koa?” since I don’t have a clean understanding of (1) what it is and (2) what your specific idea of it is.

    As for “Also, how good is the async/await support in express?”, an async function is simply a function that will automatically be wrapped in a Promise by JavaScript, and there is absolutely plans to make Express 5 handle promises being returned by handlers / middleware, so I assume that is “good”, though if you could provide some more detail on what exactly defines “good” support, I can probably provide some better answers.

    I hope this helps and starts this off on a non-debate footing.

Comments are closed.