Re: [WICG/webcomponents] Declarative CSS Module Scripts (#939)

@matthewp @rniwa that seems good to me.

My main ask is for a way to emit a style module at the first use site when streaming server rendering a large tree of components, so that further components can use that same style sheet.

This is needed because some modern streaming SSR approaches do not know what components will be rendered ahead of time, due to request-specific data and data-dependent templating.

My other thought is whether this is a thing that should apply to all types of module scripts - where an inline tag can contain content, but populate the module cache.

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

Message ID: <WICG/webcomponents/issues/939/1400938053@github.com>

Received on Monday, 23 January 2023 20:29:35 UTC