uhtml #

The uhtml renderer is available in the @ficusjs/renderers package and is the default renderer.

// import the renderer function and the html tagged template literal
import { html, renderer } from 'https://cdn.skypack.dev/@ficusjs/renderers@3/uhtml'

createCustomElement('test-comp', {
renderer,
render () {
return html`
<div>Some HTML content with
${someVariable}</div>
`

}
})