Skip to content
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

fix(runtime): only hydrate styles on client side #6174

Closed

Conversation

danielleroux
Copy link
Contributor

@danielleroux danielleroux commented Feb 25, 2025

What is the current behavior?

GitHub Issue Number: Fixes #6166

What is the new behavior?

Check if window object is defined before query elements.

ToDo:

Result: Looks from ds-ouput-target perspective.

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

Any ideas how to test it inside the stencil repository?

@christian-bromann
Copy link
Member

@danielleroux thanks, I've been also running into this and raised a fix in #6175 .. since it comes with test I will go with this one. Thanks though 🙏

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.

bug: NextJS 15 TypeError in Development for client or server side rendered components
2 participants