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

@thecodejack 
You have to be aware of one major caveat of custom elements, the are asynchronous. React is synchronous.

@daKmoR 
So can't say `connectedCallback` is the same as `componentDidMount`, there is this big difference of asynchronicity.

I really recommend to carefully study the whole spec to become familiar with all the caveats involved:
https://html.spec.whatwg.org/multipage/custom-elements.html

-- 
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-448939132

Received on Thursday, 20 December 2018 09:55:01 UTC