You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: only emit defaultMarker() when parent has non-scoped overrides
Parents that only have scoped marker overrides (sibling selectors,
no-pseudo ancestor with defineMarker) don't need defaultMarker() —
it would be unnecessary overhead. Only emit defaultMarker() when the
parent has at least one override without a markerVarName, which means
it uses stylex.when.ancestor(':pseudo') with no marker argument.
Introduces parentsNeedingDefaultMarker set computed in lower-rules.ts
and plumbed through the pipeline to both JSX emission paths
(rewrite-jsx.ts for inlined components, style-merger.ts for wrappers).
https://claude.ai/code/session_01X1Gxfz4reNWtojK37AJpsT
0 commit comments