Why beginners should avoid using ExpressJS?

Kaushik Biswas
1 min readDec 1, 2021

I know you all will think of another article criticizing ExpressJS, but I should say before you read this article, my sole intention is to guide beginners or someone who is trying to use/switches to Node.js. I am pretty sure all others have stopped using ExpressJS completely.

There are many articles on the internet which would also say the same thing. However, I am sharing my experience which will act as a guide for absolute beginners to avoid the same mistake which I did.

ExpressJS have not released any update since ages, and at the same time Node.Js has been continuously updated to support latest Ecmascript features. There are many flaws in ExpressJS, e.g. you can only get routing with ExpressJS, but you need more than routing in web framework which you would have to integrate by yourself while creating an application which in my opinion is not very beginner friendly, e.g. access a database, etc. If you try to learn Node.Js over the internet, you will see tutorial about ExpressJS rather than Node.Js.

So what should we do? If you are beginner you should actually try to learn Node.js features like non blocking, event loop, global variables, process, http module, etc. This will help you to understand how Node work behind the scene.

Do I still use ExpressJS? I am atleast not using it for production. Should I still learn ExpressJS? Well the answer depends, if you still really want to learn ExpressJS. There are many other Node.JS framework which are well maintained and easy to learn.

--

--