Answer the question
In order to leave comments, you need to log in
Node.js Express, similar to js jquery?
You can often see that jquery is not advised to use, because there is a lot of extra rubbish, sometimes it’s easier to write something in pure js and not worry, but what about express, for Node.js? Is it worth it, or is there also some trash in there? or not to pay attention, i.e. it does not greatly affect the speed of the server. Or what is better?
Answer the question
In order to leave comments, you need to log in
As for express, I switched to koa2 (from the same developers), there is async / await out of the box, which greatly simplifies development, and the middleware needs to be installed separately (many of them are not integrated, as in express). If necessary, it is possible to use express middleware with it.
And its performance seems to be slightly higher than that of express, but I personally didn’t perform tests and didn’t measure anything, it also depends on how many middlewares to hang on it, each of which passes the request through itself and processes it in some way.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question