Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 28, 2025

Conversation

christian-bromann
Copy link
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