- From: Joseph Orbegoso Pea <notifications@github.com>
- Date: Tue, 23 Aug 2016 23:59:18 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Wednesday, 24 August 2016 07:00:14 UTC
IMO, it'd be nice that (if this feature existed) that the `childConnected` and `childDisconnected` callbacks would be guaranteed to fire before the `connectedCallback`/`disconnectedCallback` of the children. This would allow parents to set up certain things (for example pass a message or state to a child), then allow for the child to react to the message or state in `connectedCallback` without requiring async coordination. Specifically, a child could detect the absence of a message or state in `connectedCallback` in order to detect an invalid-parent case without polling. Similar with [`distributedCallback`](https://github.com/w3c/webcomponents/issues/527) and detecting the invalid-slot-parent case. -- 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/550#issuecomment-241974479
Received on Wednesday, 24 August 2016 07:00:14 UTC