developit / developit/htm

Some event handler converts to boolean

オープン
#232 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
9k
フォーク
181
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。