2 ms·
You can do HTML templating directly in JS using tagged template literals[1], and a library to deal with problems like XSS attacks[2]. [1]: https://developer.mo
by amadeuspagel 4y ago
You can do HTML templating directly in JS using tagged template literals[1], and a library to deal with problems like XSS attacks[2].
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
[2]: https://workers.tools/html/ https://workers.tools/html/