developit / developit/preact-markup

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

Aperta
#25 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
207
Fork
27
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.