Some event handler converts to boolean
Aperta
- Lingua principale
- JavaScript
- Stelle
- 9k
- Fork
- 181
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.