angular/packages
Kristiyan Kostadinov eee620aa00 refactor(compiler): rework defer block analysis (#54700)
Currently we have the `deferrableDeclToImportDecl`, `deferBlocks`, `deferrableTypes` and `deferBlockDepsEmitMode` fields on the `R3ComponentMetadata` which is incorrect, because the interface is used both for JIT and AOT mode even though the information for those fields is AOT-specific. It will be problematic for partial compilation since the runtime will have a reference to the dependency loading function, but will not be able to provide any of the other information.

These changes make the following refactors:
1. It changes the defer-related information in `R3ComponentMetadata` to include only references to dependency functions which can be provided both in JIT and AOT.
2. Moves the AOT-specific defer analysis into the `ComponentResolutionData`.
3. Moves the construction the defer dependency function into the compilation phase of the `ComponentDecoratorHandler`.
4. Drops support for defer blocks from the `TemplateDefinitionBuilder`. This allows us to clean up some TDB-specific code and shouldn't have an effect on users since the TDB isn't used anymore.

PR Close #54700
2024-03-07 12:40:44 -08:00
..
animations refactor: migrate animations to prettier formatting (#53977) 2024-01-19 20:08:57 +01:00
bazel feat(core): support TypeScript 5.4 (#54414) 2024-02-26 18:29:09 -08:00
benchpress refactor: migrate bazel, benchpress, elements and misc to prettier formatting (#53995) 2024-01-22 09:07:15 +01:00
common fix(http): exclude caching for authenticated HTTP requests (#54746) 2024-03-07 11:00:00 -08:00
compiler refactor(compiler): rework defer block analysis (#54700) 2024-03-07 12:40:44 -08:00
compiler-cli refactor(compiler): rework defer block analysis (#54700) 2024-03-07 12:40:44 -08:00
core fix(core): ApplicationRef.tick should respect OnPush for host bindings (#53718) 2024-03-07 11:13:03 -08: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 docs: fix typo (#54427) 2024-02-14 15:29:21 -08:00
language-service refactor(language-service): Replace tsserverlibrary -> typescript (#54726) 2024-03-07 10:49:01 -08:00
localize docs(docs-infra): Add missing API entries to ADEV (#54530) 2024-02-21 16:41:33 +00:00
misc/angular-in-memory-web-api refactor: address prototype polution concern with better typing (#54286) 2024-02-06 18:38:47 +00:00
platform-browser refactor(platform-browser): use performance API for async animations (#53963) 2024-02-21 15:12:04 -08:00
platform-browser-dynamic build: set up adev testing (#53854) 2024-01-10 15:22:36 -08:00
platform-server refactor(devtools): Add hydration informations (#53910) 2024-01-30 20:03:14 +00:00
private/testing refactor(core): Fix internal test util types (#54736) 2024-03-06 13:34:53 -08:00
router feat(router): Add reusable types for router guards (#54580) 2024-02-28 18:09:33 +01:00
service-worker refactor: migrate docs, examples, private, service worker and upgrade to prettier formatting (#54163) 2024-01-30 20:08:40 +00:00
upgrade test: fix global augmentation leaking into all source files (#54650) 2024-03-06 12:34:39 +01:00
zone.js release: cut the zone.js-0.14.4 release (#54409) 2024-02-13 11:42:07 -08: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: bump license year (#44590) 2022-01-04 12:05:25 -08: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 build: switch devmode output to es2015 (#44505) 2022-01-05 23:20:20 +00:00
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