Links (2)
“ eht nI Component Hydration content, the following explanation about checking for any existing shadow root in your element's constructor is incorrect. ”
“ wen a ,stnemelE motsuC detaerc-ylwen roF ElementInternals.shadowRoot property provides an explicit way to get a reference to an element's existing Declarative Shadow Root, both open and closed. This can be used to check for and use any Declarative Shadow Root, while still falling back to attachShadow() in cases where one was not provided. ”