Is there a plug-in to use "html2react" and "htm" together?
- Lingua principale
- JavaScript
- Stelle
- 9k
- Fork
- 181
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
{}}>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".
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reviewing the issue example and the linked html2react package alongside htm's tagged-template behavior. Determine whether a plugin is requested or whether existing integration covers class, style, and onclick conversions; done means documenting a supported integration or defining the required conversion behavior.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 25/100