Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is this still a viable option over handlebars.js or mustache.js? #129

Open
halukkaramete opened this issue Dec 18, 2024 · 1 comment
Open

Comments

@halukkaramete
Copy link

Hi,

I've learned aobut your tool reading https://www.sitepoint.com/overview-javascript-templating-engines/

I was expecting to find a large community from the article's sounding of it. But here, it feels like a lonely place.
Last communication was in 2021.

Is this an abandoned project?

@sinand
Copy link

sinand commented Dec 18, 2024

Hi there!
You're right about the reduced activity. While templating engines were revolutionary for their time, modern JavaScript has evolved to provide better native solutions. The most straightforward approach today is using template literals:

const template = (data) => `
  <div class="card">
    <h2>${data.title}</h2>
    <p>${data.description}</p>
  </div>
`;

This built-in JavaScript feature provides clean, readable syntax for string interpolation without requiring any external dependencies. It's now the preferred way to handle simple templating needs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants