angular-cn/packages/core/test/bundling/todo
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
..
BUILD.bazel build: set default ts_devserver serving_path to /app_bundle.js to match g3 (#33996) 2019-11-26 16:09:32 -08:00
OUTSTANDING_WORK.md test(ivy): update todo app to http://todomvc.com (#23168) 2018-04-10 13:14:20 -07:00
base.css test(ivy): update todo app to http://todomvc.com (#23168) 2018-04-10 13:14:20 -07:00
bundle.golden_symbols.json fix(core): Refresh transplanted views at insertion point only (#35968) 2020-04-29 14:31:12 -07:00
index.html test: fix ivy ts_devserver tests under /packages/core/test/bunding/ (#32520) 2019-09-06 20:03:40 -04:00
index.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00
todo.css refactor: remove obsolete font-smoothing property (#28174) 2019-01-23 15:44:35 -08:00
todo_e2e_spec.ts build: reformat repo to new clang@1.4.0 (#36613) 2020-04-14 12:08:36 -07:00