Re: [w3c/webcomponents] Is there a way to retrieve the localName from a custom element constructor? (#566)

There is no way to do this. As you say, constructing the component and retrieving the `.localName` from it is the best way currently.

It sounds like the one use case you've provided so far is working around the fact that React cannot use normal element constructors, i.e. it insists on using createElement? Are there any other use cases that aren't working around framework-specific limitations?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/566#issuecomment-247047565

Received on Wednesday, 14 September 2016 15:16:39 UTC