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

Revert "fix(custom-elements): hydrate on client side (#5317)" #6111

Merged
merged 2 commits into from
Jan 23, 2025

Conversation

christian-bromann
Copy link
Member

This reverts commit d809658.

What is the current behavior?

When compiling for dist-custom-element, there is no need to include the lazy load functionality into the runtime. In fact it causes issues with Next.js and Turbopack when using SSR:

Stencil Screenshot Dec 20 2024

The original PR (see commit above) fixed a rendering issue that occured with Stencil v4.7. However the origin of the problem is not apparent anymore as we have moved to Declarative Shadow DOM for SSR rendering.

What is the new behavior?

Don't include the lazy load components as part of the dist-custom-element runtime.

Documentation

Does this introduce a breaking change?

  • Yes
  • No

Testing

n/a

Other information

n/a

@christian-bromann christian-bromann requested a review from a team as a code owner January 23, 2025 01:30
@christian-bromann christian-bromann merged commit 375fa8b into main Jan 23, 2025
71 checks passed
@christian-bromann christian-bromann deleted the cb/hydrate-fix branch January 23, 2025 03:06
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