Some event handler converts to boolean
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 9k
- Forks
- 181
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.