DEV Community

loading...

Discussion on: Quick ramp-up with NodeJS

Collapse
bias profile image
Tobias Nickel

I like express more. In koa the router middlewares are just to hard to use. I also use a solution with async middle wares in express, than the code also becomes much cleaner.

Collapse
matrixx profile image
Saija Saarenpää Author

For me, probably the best thing so far has been the native support for async/await. For Express I had to use a wrapper to hide the usage of callbacks. I don't yet have a strong opinion if it's better or worse that Koa replaces the request & response objects, which I think is the biggest difference in use when compared to Express.

Thread Thread
bias profile image
Tobias Nickel

for sure you can be productive and complete your projects successful with either of these.👍