angular/packages
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
..
animations Revert "refactor(core): Ensure DOM removal happens when no app views need refresh (#55132)" (#55524) 2024-04-24 16:35:57 -07:00
bazel refactor(core): Replay events from the event contract using the dispatcher. (#55467) 2024-04-23 16:08:36 -07:00
benchpress refactor: migrate bazel, benchpress, elements and misc to prettier formatting (#53995) 2024-01-22 09:07:15 +01:00
common refactor(common): Deprecate Local Data API functions (#54483) 2024-04-23 12:22:43 -07:00
compiler fix(core): resolve error for multiple component instances that use fallback content (#55478) 2024-04-25 09:04:01 -07:00
compiler-cli docs: improvements for API pages (#55388) 2024-04-19 06:30:34 -07:00
core fix(core): resolve error for multiple component instances that use fallback content (#55478) 2024-04-25 09:04:01 -07:00
docs/di docs: remove outdated/unsupported webworker doc (#49856) 2023-04-17 14:01:41 +00:00
elements refactor: migrate bazel, benchpress, elements and misc to prettier formatting (#53995) 2024-01-22 09:07:15 +01:00
examples refactor: migrate docs, examples, private, service worker and upgrade to prettier formatting (#54163) 2024-01-30 20:08:40 +00:00
forms refactor(forms): added control name in console errors (#55397) 2024-04-23 15:16:57 -07:00
language-service refactor: migrate language-service to prettier formatting (#55405) 2024-04-18 14:18:38 -07:00
localize refactor: migrate localize to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
misc/angular-in-memory-web-api docs: Use new Urls to drop the docs url mapper (#55043) 2024-04-09 12:23:09 -07:00
platform-browser Revert "refactor(core): Ensure DOM removal happens when no app views need refresh (#55132)" (#55524) 2024-04-24 16:35:57 -07:00
platform-browser-dynamic refactor: migrate platform-* to prettier formatting (#55423) 2024-04-19 13:49:24 -07:00
platform-server fix(core): resolve error for multiple component instances that use fallback content (#55478) 2024-04-25 09:04:01 -07:00
private/testing refactor(core): properly type withBody and withHead testing helpers (#54801) 2024-03-11 08:59:55 -07:00
router fix(core): make ActivatedRoute inject correct instance inside @defer blocks (#55374) 2024-04-22 12:01:36 -07:00
service-worker fix(core): Angular should not ignore changes that happen outside the zone (#55102) 2024-04-16 17:27:04 -07:00
upgrade fix(core): Remove deprecated Testability methods (#53768) 2024-04-12 14:49:23 -07:00
zone.js build: lock file maintenance (#55343) 2024-04-23 13:37:56 -07:00
BUILD.bazel docs(docs-infra): Add missing API entries to ADEV (#54530) 2024-02-21 16:41:33 +00:00
circular-deps-test.conf.js build: ignore type only imports/exports for circular dependency checks (#47017) 2022-08-18 12:06:09 -07:00
empty.ts
goog.d.ts
license-banner.txt build: update licence date. (#55129) 2024-04-08 11:31:12 -07:00
README.md
system.d.ts
tsconfig-build.json build: align with internal tsconfig options (#51728) 2023-09-12 11:39:42 -07:00
tsconfig-legacy-saucelabs.json refactor(compiler): drop obsolete NgFactory and NgSummary config options (#48268) 2023-02-21 13:03:59 -08:00
tsconfig-test.json
tsconfig-tsec-base.json refactor(core): throw an error when hydration marker is missing from DOM (#51170) 2023-08-04 11:31:49 -04:00
tsconfig.json refactor(router): Update integration tests to cover navigation and history API (#53799) 2024-01-30 15:04:02 +00:00
tsec-exemption.json fix(core): hardening attribute and property binding rules for <iframe> elements (#47964) 2022-11-09 00:47:56 -08:00
types.d.ts build: update to jasmine 4.0 (#45558) 2022-04-11 16:25:28 +00:00

Angular

The sources for this package are in the main Angular repo. Please file issues and pull requests against that repo.

Usage information and reference details can be found in Angular documentation.

License: MIT