developit / developit/htm

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

Abierto
#211 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
9k
Forks
181
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
javascript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
5/5
Tiempo estimado
Más de una semana
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.