Re: [w3c/webcomponents] Need a callback for when children changed or parser finished parsing children (#809)

Not sure if this is possible but would it be possible to simply capture the value of `childrenChangedCallback` immediately after the element is constructed? Then one could easily enable an optimization that doesn't bother watching the children at all if the callback isn't actually provided.

(This would be similar to the `iterator.next` changes in `for-of` loops that `.next` is only captured once at the start of the loop).

-- 
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/809#issuecomment-487841095

Received on Tuesday, 30 April 2019 07:06:11 UTC