developit / developit/preact-markup

Markup component will not update if the mapping of custom elements change

Ouverte
#25 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
207
Forks
27
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

When using the option to add a map of custom elements the component will not update if said mapping changes.

I think the problem might be here:
https://github.com/developit/preact-markup/blob/034c4c6e13029d94db57c8a565191a03b214eb83/src/index.js#L11-L14

Now I don't know if this is intended behaviour or just a oversight.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.