What should I use instead of #Express and #Handlebars for a web application in Node.js in 2023? Can someone summarise pros and cons of the most popular alternatives? I see way too many…
Alternatives to #Handlebars:
[**Mustache**](https://mustache.github.io/): zero dependencies, and dead simple. Too simple? Being logic-less means that conditionals and loops are pre-cooked, and that may limit options.
[**Pug**](https://pugjs.org/): main advantage and main drawback: its concise but idiosyncratic syntax, similar to that of #Slim — which I know and have used in the past, but is too much of a departure from #HTML.
[**EJS**](https://ejs.co/): similar to Handlebars, simple but apparently versatile. Documentation isn't great.
#JS #JavaScript #Node.js #Node
@tripu Maybe start off with simplicity (Mustache) and see how it goes? It may turn out to be all you need. If not, and you decide to switch down the line, you can just get AI to convert any existing files.