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

" Custom element name must contain a hyphen " #170

Closed
ghost opened this issue Apr 15, 2018 · 1 comment
Closed

" Custom element name must contain a hyphen " #170

ghost opened this issue Apr 15, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Apr 15, 2018

❤️

I do not use hyphenated custom element names.

on some page loads the script will fail to define custom element
many it works just fine

was wondering if maybe I'm loading something out of order...

using current build

source

thanks snuggs 💎

@ghost ghost closed this as completed Apr 15, 2018
@snuggs
Copy link
Member

snuggs commented May 2, 2018

@ltdan1999 did you get this all sorted out?

Actually hyphens are a mandatory part of the custom element name. Although frameworks like React use camel casing for their "custom elements", in actuality has been made a part of the spec. Please see #86

/cc @tmornini @brandondees @btakita

This issue was closed.
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