DEV Community

Mahesh K
Mahesh K

Posted on

1

Why front end projects use template engines?

Why front end developers make use of the template engine? What's the benefit of using them? And also one more question, does every project needs to be done with template engine? Or projects that scale needs to use template engine?

Top comments (3)

Collapse
 
linda_ikechukwu profile image
Linda Ikechukwu

I use template engines like EJS when an application involves rendering dynamic content in the html either from an API, Server or Database

Collapse
 
ben profile image
Ben Halpern

If you're planning to send HTML over the wire you'll need a template engine, eh?

Collapse
 
maheshkale profile image
Mahesh K

I am referring to template engines like Handlebar JS and EJS. In which context one should use them? I know that we can build projects without using them. But I am not sure at when it's right to use them.

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay