lit-html #

The lit-html renderer is available in the @ficusjs/renderers package.

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

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

}
})