You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generated markup with hydrate script seems correct but when client takes over eveything in test-comp is duplicated. I see this behaviour as soon as a web component is referenced in another web-component in /src.
Expected behavior:
Everything is rendered only once also when another web component from bundle is referenced in the component.
Steps to reproduce:
Add custom coponent and reference components from bundle and generate hydrate script.
The text was updated successfully, but these errors were encountered:
When I turn of the option clientHydrateAnnotations (which does not exist in renderToString based on documentation) it’s fixed. But I assume I lose a lot of other stuff ?
Would be cool if someone just gives a quick heads up if what I am doing is just wrong or point me into the right direction so I can dig deeper in the code.. thx
Stencil version:
I'm submitting a:
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior:
I cloned the ionic repo and made another stencil component "test-comp" with this render:
and generated the build including hydrate script.
Then I am using it like so:
Generated markup with hydrate script seems correct but when client takes over eveything in test-comp is duplicated. I see this behaviour as soon as a web component is referenced in another web-component in /src.
Expected behavior:
Everything is rendered only once also when another web component from bundle is referenced in the component.
Steps to reproduce:
Add custom coponent and reference components from bundle and generate hydrate script.
The text was updated successfully, but these errors were encountered: