Skip to content

feat(hydrate): export style content from hydrated scoped components#6260

Merged
christian-bromann merged 3 commits intomainfrom
cb/export-styles
May 28, 2025
Merged

feat(hydrate): export style content from hydrated scoped components#6260
christian-bromann merged 3 commits intomainfrom
cb/export-styles

Conversation

@christian-bromann
Copy link
Copy Markdown
Member

What is the current behavior?

Rendering scoped components through the hydrate module doesn't allow users to access the style information of scoped components unless they render the whole document and parse the style tags out.

What is the new behavior?

This patch populates style information as part of the HydrateResults object.

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

Added e2e tests for this.

Other information

n/a

@christian-bromann christian-bromann requested a review from a team as a code owner May 21, 2025 17:48
@christian-bromann christian-bromann merged commit 1bdcdb9 into main May 28, 2025
141 of 144 checks passed
@christian-bromann christian-bromann deleted the cb/export-styles branch May 28, 2025 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant