4 ms·
A big difficulty is that HTML by itself doesn't give you good ways to define templates so it's a pretty dreadful task. Web components can change that in the fu
by rtpg 9y ago
A big difficulty is that HTML by itself doesn't give you good ways to define templates so it's a pretty dreadful task.
Web components can change that in the future but until that it's pretty normal for developers to opt for tools that allow for creating a HTML fragment and building up HTML in another language.
Imagine if we had to do the c calling convention song and dance on every function call...
- Rumudiez 9y agoThere are plenty of simple templating options still out there. Twig, handlebars, and jekyll would all be good introductions in my opinion