Re: [w3c/webcomponents] Non-class based example of customElement.define() (#587)

`Object.setPrototypeOf(this, elementProto)` per each custom elements is just 10% slower?

Because I've proposed that already in the related Babel bug (since Babel is bugged for this and every other native constructor call) and they told me they didn't want to lose performance.

It looks like they delegated to you their transformation problem [I've already said how to solve](https://github.com/babel/babel/issues/4480#issuecomment-256619501).

Thanks for sharing anyway, but I'm not sure this is the right way to go.

-- 
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/587#issuecomment-259793790

Received on Thursday, 10 November 2016 20:08:31 UTC