angular/packages/platform-server/test
Kristiyan Kostadinov a5c57c7484 fix(core): resolve error for multiple component instances that use fallback content (#55478)
Currently fallback content for `ng-content` gets declared and rendered out in one go. This breaks down if multiple instances of the same component are used where one doesn't render the fallback content while the other one does, because the `TNode` for the content has to be created during the first creation pass.

These changes resolve the issue by always _declaring_ the template, but only rendering it if the slot is empty.

Fixes #55466.

PR Close #55478
2024-04-25 09:04:01 -07:00
..
BUILD.bazel refactor(core): Replay events from the event contract using the dispatcher. (#55467) 2024-04-23 16:08:36 -07:00
dom_utils.ts refactor(core): Replay events from the event contract using the dispatcher. (#55467) 2024-04-23 16:08:36 -07:00
event_replay_spec.ts refactor(platform-server): event contract script should follow event dispatch script (#55502) 2024-04-24 10:32:36 -07:00
hydration_spec.ts fix(core): resolve error for multiple component instances that use fallback content (#55478) 2024-04-25 09:04:01 -07:00
integration_spec.ts refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
transfer_state_spec.ts refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00