angular-docs-cn/packages
Andrew Scott 1786586747 fix(core): Refresh transplanted views at insertion point only (#35968)
Only refresh transplanted views at the insertion location in Ivy.
Previously, Ivy would check transplanted views at both the insertion and
declaration points. This is achieved by adding a marker to the insertion
tree when we encounter a transplanted view that needs to be refreshed at
its declaration. We use this marker as an extra indication that we still
need to descend and refresh those transplanted views at their insertion
locations even if the insertion view and/or its parents are not dirty.

This change fixes several issues:

  * Transplanted views refreshed twice if both insertion and declaration
  are dirty. This could be an error if the insertion component changes
  result in data not being available to the transplanted view because it
  is slated to be removed.
  * CheckAlways transplanted views not refreshed if shielded by
  non-dirty OnPush (fixes #35400)
  * Transplanted views still refreshed when insertion tree is detached
  (fixes #21324)

PR Close #35968
2020-04-29 14:31:12 -07:00
..
animations build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
bazel build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
benchpress release(benchpress): bump version of benchpress to 0.2.0 (#36457) 2020-04-22 17:10:28 -04:00
common docs: correct ngSwitch definition (#35489) 2020-04-23 12:13:39 -07:00
compiler fix(compiler): normalize line endings in ICU expansions (#36741) 2020-04-28 12:22:40 -07:00
compiler-cli refactor(ngcc): move `PathMappings` to separate file to avoid circular dependency (#36626) 2020-04-29 14:28:26 -07:00
core fix(core): Refresh transplanted views at insertion point only (#35968) 2020-04-29 14:31:12 -07:00
docs refactor(core): remove deprecated Renderer (#33019) 2019-10-08 09:23:00 -07:00
elements build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
examples build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
forms test: disable failing saucelabs tests (#36620) 2020-04-14 10:13:33 -07:00
http build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
language-service test(language-service): do not invalidate @angular/core (#36845) 2020-04-29 14:27:33 -07:00
localize refactor(localize): remove unused code (#36745) 2020-04-23 12:07:33 -04:00
platform-browser build: enable platform-browser tests on Saucelabs (#36797) 2020-04-28 15:10:27 -07:00
platform-browser-dynamic build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
platform-server build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
platform-webworker build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
platform-webworker-dynamic build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
private/testing build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
router feat(router): allow CanLoad guard to return UrlTree (#36610) 2020-04-27 12:53:49 -07:00
service-worker build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
upgrade build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
zone.js revert: "feat(dev-infra): exposed new rule 'component_benchmark' via dev_infra (#36434)" (#36798) 2020-04-24 11:03:38 -07:00
BUILD.bazel build: reference zone.js from source directly instead of npm. (#33046) 2019-11-06 00:48:34 +00:00
README.md docs: add doc reference to npm package readme (#33911) 2019-11-20 14:46:23 -08:00
circular-deps-test.conf.js build: move circular deps golden to a subfolder (#36630) 2020-04-22 17:11:20 -04:00
empty.ts
goog.d.ts fix(ivy): use goog.LOCALE for Closure Compiler to define default LOCALE_ID (#31519) 2019-07-16 13:02:10 -04:00
license-banner.txt build: bump year (#34651) 2020-01-13 07:21:43 -08:00
system.d.ts build: no longer run tslint from within gulp task (#35800) 2020-03-03 09:20:49 -08:00
tsconfig-build-no-strict.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-build.json refactor(core): ensure compatibility with typescript strict flag (#30993) 2019-07-18 14:21:25 -07:00
tsconfig-test.json refactor: fix typescript strict flag failures in all tests (#30993) 2019-07-18 14:21:26 -07:00
tsconfig.json revert: "feat(dev-infra): exposed new rule 'component_benchmark' via dev_infra (#36434)" (#36798) 2020-04-24 11:03:38 -07:00
types.d.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00

README.md

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