DEV Community

Discussion on: Before building your next static site with React, consider this

Collapse
 
skd1993 profile image
Shobhit Kumar • Edited

Fantastic article Ben! Thanks for introducing me to Pug. Sounds a bit like Handlebars if I'm not mistaken?

Collapse
 
bholmesdev profile image
Ben Holmes

Thanks Shobhit! Yep, it's just another templating language. I know that Handlebars is very JavaScript-y though, where you need to write helpers in JS that are thrown into the rendered template.

Pug is super composable on its own, since you can basically write "components" using the mixin and includes syntax that I mentioned. If you're gonna ditch your component library for this sort of setup, Pug is my fave!