const h = (tag, props, ...children) => ({ tag, props, children });
const html = htm.bind(h);
const dom = html`<div onCompositionStart=${()=>{}} onClick=${()=>{}}>aaa</div>`
In props, the onCompositionStart becomes true. The expected behavior is that the value of onCompositionStart and onClick in props should both be Function
Hi,
In
props
, theonCompositionStart
becomestrue
. The expected behavior is that the value ofonCompositionStart
andonClick
inprops
should both be Function