Re:Web Components Are Okay
by meiraleal on Sunday September 29, 2024 @09:17AM
(#41687181)
That's a solved problem. You can create a custom element for that with some 5 lines of code. Or use one ready:
https://github.com/justinfagnani/html-include-element
[ Parent
| on HN ]
And that’s exactly what some people don’t want!