htm #

The htm renderer is a JSX-like renderer (no transpiler necessary) available in the @ficusjs/renderers package.

import { html, renderer } from 'https://cdn.skypack.dev/@ficusjs/renderers@3/htm'

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

}
})