Re: [WICG/webcomponents] [scoped-registries] Consider future expansion to allow using a registry without new API (Issue #1043)

> We need a way to represent SCERs in SSR, and if SCERs are tied to Shadow Realms rather than Shadow Roots then that's not possible.

To clarify this a bit, it's not impossible, but SSR requires a way to tell some elements to not use the global registry. The current proposal is to use a flag on `<template shadowrootmode>` that tells the shadow root that it will receive a registry in the future and to not upgrade elements until it does.

This could probably still be done in coordination with shadow realms, but it still needs some kind of scoping within HTML that turns off global upgrades. Shadow roots are our natural scoping boundary here.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1043#issuecomment-2444919482
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1043/2444919482@github.com>

Received on Tuesday, 29 October 2024 17:29:05 UTC