Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support custom web components #607

Closed
jeyj0 opened this issue Dec 16, 2020 · 0 comments
Closed

Support custom web components #607

jeyj0 opened this issue Dec 16, 2020 · 0 comments

Comments

@jeyj0
Copy link
Collaborator

jeyj0 commented Dec 16, 2020

Currently a view using custom components won't compile due to hsx not recognizing the tag, unless used with Text.Blaze.Html5.preEscapedToMarkup. This issue exist with the is attribute on existing elements as well.

Since custom components always need to have a hyphen in their name (<custom-component), we should be able to have a special case for them.

is should also be special-cased.

Maybe we should consider having a custmizable list of allowed custom components though, to add a bare minimum of checks for them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant