angular-cn/packages/core/test/render3
Pawel Kozlowski c09bd67aee fix(ivy): fix views manipulation logic (#22656)
This commit fixes a bug that would result in views insert / remove
even if a view needed only refresh operation.

The crux of the bug was that we were looking for a view to update
only in the LContainer.nextIndex position. This is incorrect as a
view with a given block id could be present later in the views
array (this happens if we about to remove a view in the middle of
the views array).

The code in this fix searches for a view to update in the views array and
can remove views in the middle of the views collection. Previously we
would remove views at the end of the collection only.

PR Close #22656
2018-03-14 12:07:15 -07:00
..
compiler_canonical refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
BUILD.bazel test(ivy): Add small_app spec for sprint #3 (#22018) 2018-02-18 13:18:54 -08:00
basic_perf.ts refactor(ivy): prefix viewStart & viewEnd with embedded (#22055) 2018-02-07 17:03:25 -08:00
change_detection_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
common_integration_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
common_with_def.ts refactor(ivy): remove inputsPropertyName (#22716) 2018-03-13 13:26:15 -07:00
component_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
content_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
control_flow_spec.ts fix(ivy): fix views manipulation logic (#22656) 2018-03-14 12:07:15 -07:00
define_spec.ts refactor(ivy): remove inputsPropertyName (#22716) 2018-03-13 13:26:15 -07:00
di_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
directive_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
domino.d.ts feat(core): Moving Renderer3 into @angular/core (#20855) 2017-12-21 21:40:58 -08:00
exports_spec.ts refactor(ivy): split the `memory` instruction into `store` and `load` (#22268) 2018-02-18 18:48:41 -08:00
imported_renderer2.ts feat(ivy): implement pipes (#22254) 2018-03-07 20:58:48 -08:00
instructions_spec.ts fix(ivy): elements properties should not be stringified (#22683) 2018-03-12 13:16:05 -07:00
integration_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
lifecycle_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
listeners_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
load_domino.ts test(ivy): Add small_app spec for sprint #3 (#22018) 2018-02-18 13:18:54 -08:00
node_selector_matcher_spec.ts feat(ivy): add support for the ngProjectAs attribute (#22498) 2018-03-06 06:55:51 -08:00
outputs_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
pipe_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
properties_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
pure_function_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
query_list_spec.ts feat(ivy): implement QueryList array-related methods (#21778) 2018-01-25 22:19:43 -08:00
query_spec.ts refactor(ivy): split the `memory` instruction into `store` and `load` (#22268) 2018-02-18 18:48:41 -08:00
render_util.ts feat(ivy): support ChangeDetectorRef.detectChanges (#22614) 2018-03-07 21:08:25 -08:00
renderer_factory_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00
testing_spec.ts test(ivy): Add small_app spec for sprint #3 (#22018) 2018-02-18 13:18:54 -08:00
util_spec.ts feat(ivy): support deep queries through view boundaries (#21700) 2018-01-24 22:18:38 -08:00
view_container_ref_spec.ts refactor(ivy): remove directiveRefresh instruction (#22745) 2018-03-13 23:29:21 -07:00