shimCssForNode method
void
shimCssForNode(
- NodeReference nodeReference,
- int nodeIndex,
- CompileIdentifierMetadata nodeType
Implementation
void shimCssForNode(NodeReference nodeReference, int nodeIndex,
CompileIdentifierMetadata nodeType) {
if (isRootNodeOfHost(nodeIndex)) return;
// Phase 3 (SSR): Style encapsulation shims are deferred to a later phase.
// The current approach generates this.componentStyles.addShimE/C() calls
// which expect DOM elements. With RenderNode, these need to be handled
// differently for server-side rendering. Full style shim support comes
// in Phase 4 when RenderNode has proper encapsulation support.
}