- From: Steve Orvell <notifications@github.com>
- Date: Wed, 10 May 2017 14:47:39 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 10 May 2017 21:48:11 UTC
Definitely agree with making this change. It's much easier to create an element when the developer only has to consider one processing model for basic lifecycle. > A well written component probably have an efficient code path for when it's constructing shadow tree instead of relying on slotchange event One could similarly argue that `connectedCallback` should not run if the element is connected when the constructor runs because the constructor could just check `isConnected`. As with `slotchange`, this has the unfortunate effect of requiring a developer to consider multiple processing models to handle basic lifecycle. This is just fundamentally cumbersome. -- 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/447#issuecomment-300622518
Received on Wednesday, 10 May 2017 21:48:11 UTC