Just curious, what do you think should be used for a backend server then and why? Honestly for me, I have no problems or delusions with express. It's very easy to create apps with it and it suits me pretty well.
It works well, but since it was built very long ago, it may not be suited for today. You may think that could be changed, but to maintain backwards compatibility they won't.
For you, since you are a beginner, it may not matter. But I still recommend using newer libraries, which may be better.
I understand that. But what makes it not suitable for today, and what libraries should I go for and what modern problems do they solve then? That's what I was just curious about.
Express is not that maintained. It can't even handle async/await (#4360) and you get an UnhandledPromiseRejectionWarning (note that in the future this will crash your app, and it can cause memory leaks). And much more.
Just curious, what do you think should be used for a backend server then and why? Honestly for me, I have no problems or delusions with express. It's very easy to create apps with it and it suits me pretty well.
It works well, but since it was built very long ago, it may not be suited for today. You may think that could be changed, but to maintain backwards compatibility they won't.
For you, since you are a beginner, it may not matter. But I still recommend using newer libraries, which may be better.
I understand that. But what makes it not suitable for today, and what libraries should I go for and what modern problems do they solve then? That's what I was just curious about.
Express is not that maintained. It can't even handle
async
/await
(#4360) and you get anUnhandledPromiseRejectionWarning
(note that in the future this will crash your app, and it can cause memory leaks). And much more.As for alternatives, you could try
fastify
orAdonisJS