angular/packages
JoostK 13362972bb perf(common): code size reduction of ngFor directive (#44315)
This commit makes several changes to the implementation of `NgForOf` to
reduce its code size in production builds:

1. The tailor-made message for an unsupported differ is fully
   tree-shaken in production builds, in favor of the exception from the
   differ factory itself.
2. The private `_perViewChange` method was changed into a free-standing
   function, to allow its name to be minimized.
3. The need for an intermediate `RecordViewTuple` was avoided by
   applying the operation in-place, instead of collecting all insertions
   into a buffer first. This is safe as the `_perViewChange` operation
   that used to be done on each `RecordViewTuple` is entirely local to
   the tuple itself. Hence, it is invariant to execution ordering which
   means that the `_perViewChange` can be executed directly during the
   `forEachOperation` loop.

PR Close #44315
2021-12-02 09:25:45 -08:00
..
animations docs(animations): remove incorrect information regarding animateChild (#44216) 2021-11-24 18:54:22 +00:00
bazel refactor(bazel): remove metadata collection from ngc_wrapped (#44269) 2021-12-01 10:36:30 -08:00
benchpress build: update angular (#44024) 2021-11-03 15:06:36 -07:00
common perf(common): code size reduction of ngFor directive (#44315) 2021-12-02 09:25:45 -08:00
compiler ci: Upgrade tsec to 0.2.0. (#44205) 2021-11-24 18:55:58 +00:00
compiler-cli refactor(compiler-cli): dismantle View Engine implementation of ngc (#44269) 2021-12-01 10:36:30 -08:00
core perf(common): code size reduction of ngFor directive (#44315) 2021-12-02 09:25:45 -08:00
docs docs: remove/update broken links in resources appearing on aio (#42232) 2021-05-26 14:21:12 -07:00
elements refactor(elements): remove non-existent schematic collection breaking with ng add (#44187) 2021-11-16 12:03:41 -08:00
examples test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
forms refactor(forms): minor refactoring of SelectMultipleControlValueAccessor (#44261) 2021-11-30 16:43:11 -05:00
language-service fix(language-service): Correctly parse inputs and selectors with dollar signs (#44268) 2021-11-29 17:22:12 -05:00
localize refactor(localize): ensure schematic code runs as commonjs (#44016) 2021-11-04 18:54:54 +00:00
misc/angular-in-memory-web-api release: bump angular-in-web-memory-api package to 0.13.0 (#44313) 2021-11-30 14:12:50 -05:00
platform-browser test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
platform-browser-dynamic refactor(platform-browser-dynamic): remove private export of ResourceLoaderImpl (#44267) 2021-11-29 12:37:00 -05:00
platform-server test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
private/testing test: remove Ivy/ViewEngine switch helpers and obsolete tests (#44120) 2021-11-24 19:42:39 +00:00
router test: remove unused router karma legacy setup (#44281) 2021-11-30 11:56:05 -05:00
service-worker refactor(service-worker): avoid unnecessary writes to cache when version fails (#43680) 2021-10-21 14:20:50 +00:00
upgrade build: bundle spec files for saucelabs legacy job (#44281) 2021-11-30 11:56:04 -05:00
zone.js feat(core): support TypeScript 4.5 (#44164) 2021-11-30 11:59:02 -05:00
BUILD.bazel build: Auto-gen tsec tsconfig files (#43440) 2021-09-17 17:17:34 +00:00
circular-deps-test.conf.js fix(platform-webworker): remove platform-webworker and platform-webworker-dynamic (#38846) 2020-09-30 09:13:59 -04:00
empty.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
goog.d.ts refactor(core): replace references to goog.LOCALE with goog.getLocale() (#43089) 2021-08-10 10:35:26 -07:00
license-banner.txt docs: update year (#40925) 2021-02-22 12:37:40 -08:00
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
system.d.ts build: update license headers to reference Google LLC (#37205) 2020-05-26 14:26:58 -04:00
tsconfig-build.json build: enable esModuleInterop in TypeScript compilations (#43431) 2021-10-01 18:28:45 +00:00
tsconfig-legacy-saucelabs.json build: bundle spec files for saucelabs legacy job (#44281) 2021-11-30 11:56:04 -05:00
tsconfig-test.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
tsconfig-tsec-base.json build: update tsconfigs to use ES2020 as target and module (#43431) 2021-10-01 18:28:42 +00:00
tsconfig.json refactor(language-service): Remove View Engine code from language service package (#44064) 2021-11-10 01:20:04 +00:00
tsec-exemption.json build: Enable tsec checks for critical packages. (#43108) 2021-09-13 14:45:57 -07:00
types.d.ts build: replace @types/trusted-types dep with minimal type defs (#39211) 2020-10-15 09:08:00 -07: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