Some event handler converts to boolean
Open
- Dominant language
- JavaScript
- Stars
- 9k
- Forks
- 181
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
```
const h = (tag, props, ...children) => ({ tag, props, children });
const html = htm.bind(h);
const dom = html`
{}} onClick=${()=>{}}>aaa
`
```
In `props`, the `onCompositionStart` becomes `true`. The expected behavior is that the value of `onCompositionStart` and `onClick` in `props` should both be Function
Contributor guide
Assessment
This issue has not been assessed yet.