- From: Joe Pea <notifications@github.com>
- Date: Sat, 30 Nov 2019 09:59:29 -0800
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 30 November 2019 18:00:53 UTC
Thinking about stuff like `ReflowStrategy.RERENDER_INNER_HTML` from `custom-elements-hmr-polyfill`, `disconnectedCallback` on downgrade `constructor`/`connectedCallback` on upgrade would have that handled. The reference to the DOM element that got downgraded then re-upgrade would remain the same, and in theory this should keep parent state in tact (f.e. a parent element could stick children into the element that got redefined, and those children would remain as children of the redefined element, and the redefined element could re-handle the children on upgrade like it did before). -- 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/829#issuecomment-560005441
Received on Saturday, 30 November 2019 18:00:53 UTC