DEV Community

Discussion on: Are native html reusable templates a thing?

Collapse
 
nicozerpa profile image
Nico Zerpa (he/him) • Edited

I've used the <template> tag last year, but just a couple of times. If I decided to create a web app without frameworks, I think I'd use them quite heavily, together with custom elements. But I'd definitely miss the declarative style of UI libraries like React or Vue.js.

But in the past, most of the heavy lifting was made on the server-side, the front end was mostly used to display the HTML contents that the server created dynamically. JavaScript engines were slower and the language itself had fewer features.