by justsomeuser · 3y ago · 0 comments
Can templates be nested?
Nesting works using the same concept. A parent template either picks one of its child nodes using this.fragment.querySelector or using document.createElement to mount a child template to. You then use this.addChild to opt into garbage collection.