- From: Aaron Shafovaloff <notifications@github.com>
- Date: Sat, 25 Mar 2017 15:32:06 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 25 March 2017 22:32:40 UTC
This is 😢 for now. Trying to minimize flash of non-upgraded children:
```
export default class TimeagoElement extends HTMLElement {
constructor() {
super()
if (this.querySelector('time')) {
this.init()
} else {
window.requestAnimationFrame(() => {
this.init()
})
}
}
...
}
```
--
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/551#issuecomment-289244101
Received on Saturday, 25 March 2017 22:32:40 UTC