developit / developit/preact-markup

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

Open
#25 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
207
Forks
27
PR merge metrics
No merged PRs in 30d

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.