Re: [whatwg/dom] DOM ready is error prone, still requires libs, could be simpler: a document#ready Promise (#568)

+1. I think this would be a nice improvement. Note that newer APIs like the `customElements.whenDefined()` already use Promises to signal one-time events. Perhaps there should be one for each state of the document, like `whenReady()`, `whenInteractive()` etc.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/568#issuecomment-363633671

Received on Wednesday, 7 February 2018 02:18:02 UTC