angular-cn/packages/core/test/linker
Kara Erickson a20b2f72f2 fix(ivy): process creation mode deeply before running update mode (#27744)
Prior to this commit, we had two different modes for change detection
execution for Ivy, depending on whether you called `bootstrap()` or
`renderComponent()`. In the former case, we would complete creation
mode for all components in the tree before beginning update mode for
any component. In the latter case, we would run creation mode and
update mode together for each component individually.

Maintaining code to support these two different execution orders was
unnecessarily complex, so this commit aligns the two bootstrapping
mechanisms to execute in the same order. Now creation mode always
runs for all components before update mode begins.

This change also simplifies our rendering logic so that we use
`LView` flags as the source of truth for rendering mode instead of
`rf` function arguments. This fixed some related bugs (e.g. calling
`ViewRef.detectChanges` synchronously after the view's creation
would create view nodes twice, view queries would execute twice, etc).

PR Close #27744
2018-12-19 15:10:16 -05:00
..
change_detection_integration_spec.ts fix(ivy): properly destroy views created by ComponentFactory (#27676) 2018-12-14 15:22:11 -08:00
entry_components_integration_spec.ts test(ivy): finish root cause analysis for @angular/core TestBed failing tests (#27510) 2018-12-06 13:41:02 -08:00
integration_spec.ts feat(ivy): support context discovery for containers & ICU expressions (#27644) 2018-12-17 16:47:29 -08:00
jit_summaries_integration_spec.ts test(ivy): update fixmes in packages/core/test/linker/jit_summaries_integration_spec.ts (#27639) 2018-12-14 10:20:18 -08:00
ng_container_integration_spec.ts test(ivy): update test status for cases modified in ivy (#27652) 2018-12-13 14:55:38 -08:00
ng_module_integration_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
projection_integration_spec.ts test(ivy): update root causes for @angular/core TestBed failures (#27650) 2018-12-13 14:56:00 -08:00
query_integration_spec.ts fix(ivy): process creation mode deeply before running update mode (#27744) 2018-12-19 15:10:16 -05:00
query_list_spec.ts fix(core): ensure initial value of QueryList length (#21980) (#21982) 2018-02-07 12:08:44 -08:00
regression_integration_spec.ts test(ivy): update root causes for @angular/core TestBed failures (#27650) 2018-12-13 14:56:00 -08:00
security_integration_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
source_map_integration_node_only_spec.ts fix(ivy): check semantics of NgModule for consistency (#27604) 2018-12-17 14:49:51 -08:00
system_ng_module_factory_loader_spec.ts build: upgrade jasmine (and related typings) to latest version (#19904) 2018-07-06 13:48:02 -07:00
view_injector_integration_spec.ts test(ivy): enable more @angular/core tests (#27654) 2018-12-17 16:45:53 -08:00