-
Notifications
You must be signed in to change notification settings - Fork 27.3k
hydration problems with ng-content #50175
Copy link
Copy link
Closed
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: hydrationstate: has PR
Milestone
Metadata
Metadata
Assignees
Labels
P2The issue is important to a large percentage of users, with a workaroundThe issue is important to a large percentage of users, with a workaroundarea: coreIssues related to the framework runtimeIssues related to the framework runtimecore: hydrationstate: has PR
Type
Fields
Give feedbackNo fields configured for issues without a type.
🐞 Bug report
What modules are related to this issue?
Is this a regression?
no
Description
when enabling hydration and passing content with ng-content, the ng-content is filled with nothing
3 changes that fixes the issue
<div><ng-content></ng-content></div>(so it only happens with Angular Material, no idea why sorry)app.component.htmlprovideClientHydration()🔬 Minimal Reproduction
https://github.com/robertIsaac/hydration-problem
🔥 Exception or Error
NA
🌍 Your Environment