angular/packages/core
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
..
global docs(docs-infra): Add missing API entries to ADEV (#54530) 2024-02-21 16:41:33 +00:00
primitives refactor(core): disable property renaming for the event dispatch script (#55502) 2024-04-24 10:32:35 -07:00
reference-manifests build: add target to generate api manifest (#52472) 2023-11-02 11:00:59 -07:00
rxjs-interop docs: Use new Urls to drop the docs url mapper (#55043) 2024-04-09 12:23:09 -07:00
schematics feat(migrations): Migration schematics for HttpClientModule (#54020) 2024-04-23 12:12:31 -07:00
src fix(core): resolve error for multiple component instances that use fallback content (#55478) 2024-04-25 09:04:01 -07:00
test fix(core): resolve error for multiple component instances that use fallback content (#55478) 2024-04-25 09:04:01 -07:00
testing fix(core): DeferBlockFixture.render should not wait for stability (#55271) 2024-04-23 15:12:39 -07:00
BUILD.bazel refactor(core): Replay events from the event contract using the dispatcher. (#55467) 2024-04-23 16:08:36 -07:00
index.ts refactor(core): made comment structure consistent in index.ts (#43684) 2021-10-21 18:39:58 +00:00
package.json build: make JSA contract binary accessible (#55361) 2024-04-17 10:37:31 +02:00
PACKAGE.md docs: add package doc files (#26047) 2018-10-05 15:42:14 -07:00
public_api.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00