DEV Community

Discussion on: Learn about javascript templates

Collapse
 
akkijat profile image
Akshay Jat • Edited

Yes, you are right template literals is awesome addition to JavaScript but it's not replacement of JS frameworks.

And yes, you can do everything that JS framework can do with VanillaJS. But when you will need features that JS frameworks provide, then you will build that in VanillaJS which will be something like reinventing something that is invented (and maybe not sure with bugs 😞).

And one more thing template literals are not supported in old browsers.
Check it at: caniuse.com/#feat=template-literals