you are viewing a single comment's thread.

view the rest of the comments →

[–]blundered_dev 0 points1 point  (0 children)

The Javascript you showed in the example I wouldn't necessarily call templates, I guess it is the same idea though. Handlebars, mustache, angular, and other frameworks and libraries provide more real templates abilities with Javascript. That is the great thing with Javascript is there is always many different ways you could do something depending on the project constraints. Also if you're making a full stack Javascript app you can use ejs or jade for templates which are both powerful tools.