Can't handle conditionals
loreanvictor opened this issue · comments
this doesn't work, it should:
import { html } from 'https://esm.sh/rehtm'
document.body.appendChild(html`<div>Hellow ${undefined && 'World!'}</div>`)
Create and hydrate HTML with HTM
loreanvictor opened this issue · comments
this doesn't work, it should:
import { html } from 'https://esm.sh/rehtm'
document.body.appendChild(html`<div>Hellow ${undefined && 'World!'}</div>`)