developit / developit/htm

Is there a plug-in to use "html2react" and "htm" together?

Offen
#211 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
9k
Forks
181
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Is there a plug-in to use "html2react" and "htm" together?

https://www.npmjs.com/package/html2react

```js

const html = htm.bind(html2react);

let reactvdom=html`

Foo


Bar


{}}>Baz


`
```

For example, the attribute "class" is converted to "className", and the attribute "style" is converted from a string to an object?the attribute "onclick" is converted to "onClick".

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.