developit / developit/htm

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

Open
#211 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
9k
Forks
181
PR merge metrics
No merged PRs in 30d

Description

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".

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.