developit / developit/preact-markup

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

Offen
#25 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
JavaScript
Sterne
207
Forks
27
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.