You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scenario: I'm making a single page app, and I get a child component client side, from a 'router' module.
classMyAppextendsTonic{render(){constchild=router.match('/example')returnthis.html`<div> // how to render `child` here?
<${child></${child}>
</div>`
}}
How to make this work? Normally in this scenario you would just return html with the child component's class/tag name?
You would want to either return a string (the tag name) from the route function, or this is how we convert between camel-case class names and tag names in tonic:
question / docs request
The scenario: I'm making a single page app, and I get a child component client side, from a 'router' module.
How to make this work? Normally in this scenario you would just return html with the child component's class/tag name?
The text was updated successfully, but these errors were encountered: