3 ms·
Agreed. It's weird. If the goal is to extend HTML elements, should just send the compound elements definition with the html. The image should just be refered b
by aatd86 3y ago
Agreed. It's weird. If the goal is to extend HTML elements, should just send the compound elements definition with the html.
The image should just be refered by a src attribute of user-avatar.
But in any case, you still want javascript if you have to change something dynamically.
People are hell-bent on using a static markup language designed for static documents even if it doesn't fit.
Ok it's slow but that's another problem.