-
Notifications
You must be signed in to change notification settings - Fork 794
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
bug: hydrate crashes if head element with link tag exists #5870
Comments
This should get resolved with #5876 which is currently being reviewed. You can use |
Since the Ionic starter apps have a |
@ptmkenny thanks for the feedback @ptmkenny! We will evaluate this with the framework and Stencil team whether this is feasible for us as it requires running these starter apps with a custom compiled Ionic Framework version that uses a custom compiled Stencil version. Overall we have much better test coverage for these edge cases now which makes it less likely that these bugs happen again. |
Closing as this has been resolved and was released with the last Stencil version. |
Prerequisites
Stencil Version
4.19.0
Current Behavior
Hydrate crashes if a full document is hydrated with serializeShadowRoot: false
This only happens if a
<link ... >
tag is inside the<head>
Happens inside the
addStyle() -> insertBefore()
method (see trace).Expected Behavior
No crashes.
System Info
No response
Steps to Reproduce
serializeShadowRoot
tofalse
inserver.js
.Code Reproduction URL
https://github.com/mayerraphael/stencil-dsd-ssr-playground
Additional Information
server.js
The text was updated successfully, but these errors were encountered: