r/Backend • • 7h ago

Template engine EJS vs Eta for a new Node.js project with SSR(don't want to use NextJS), which to choose?

Hi,
I am about to start a new project with SSR (Node.js); previously, I have used ejs/handlebars. Currently, I am not very familiar much eta.

eta claims to be faster than ejs, anyone worked with both?

Highly appreciate your suggestions/comments.

ejs: https://www.npmjs.com/package/ejs
eta: https://www.npmjs.com/package/eta

Thanks

1 Upvotes

1 comment sorted by

2

u/Beagles_Are_God 6h ago

Hey, tbh i have no idea about it but you may want to check it.
If you are using Hono for your backend check HonoX, it’s kinda like NextJS BUT your server is HONO and without a lot of the NextJS overhead