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
{{ message }}
Repository navigation
Scoped styles follow-up: relax OCTANE_HYDRATE_SPLIT_STYLE now that scopes are lexical #935
Follow-up to RFC tsrx-org/RFCs#1 (Octane branch feat/scoped-styles-apply, compiler pre-pass in packages/octane/src/compiler/style-scopes.js). hydrate-boundaries.js still rejects a scoped <style> inside a split child (OCTANE_HYDRATE_SPLIT_STYLE); the message now names "the style scope it sits in", but the restriction itself is the v1 policy (plan D11).
With per-scope hashes a split child that owns a complete style scope (its blocks and the elements they stamp all inside the boundary) could compile the sheet under the same position-derived hash on both sides. Investigate lifting the error for that case, keeping it for blocks whose scope straddles the boundary, and update docs/deferred-hydration.md accordingly.
Activity
jonkwheeler commentedon Sep 4, 2026
Working on this in #959
@leonidaz Complete lexical style scopes inside split Hydrate children are allowed; straddling still errors.
leonidaz commentedon Sep 6, 2026
closed by #959