- From: Domenic Denicola <notifications@github.com>
- Date: Sun, 18 Mar 2018 13:24:18 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 18 March 2018 13:24:47 UTC
We shouldn't modify the definition of connectedCallback because people are using it for the wrong purpose. (For the right purpose: see the various uses of "becomes connected" in the HTML Standard.) The general problem here is people assuming there is ever any static time at which your list of children is "complete" or canonical. That is never true. Children can change dynamically. If you want to make decisions based on your children, you need to use a MutationObserver to observe them. -- 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/611#issuecomment-373998853
Received on Sunday, 18 March 2018 13:24:47 UTC