Closed diffcunha closed 6 years ago
It would be interesting if tags could be set as variables
const tag = 'div' const tree = hx` <${tag} arg1="foo"> <span>child</span> </${tag}> `
class Component extends HTMLElement { ... } const tree = hx` <${Component} arg1="foo"> <span>child</span> </${Component}> `
This could help building support for web components using hyperx
hyperx
Related to #9
It would be interesting if tags could be set as variables
This could help building support for web components using
hyperx
Related to #9