angular-cn/packages/core/test/bundling
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
..
animation_world test(ivy): remove symbol tests which are too big and not useful (#27446) 2018-12-04 23:17:52 -08:00
hello_world fix(ivy): process creation mode deeply before running update mode (#27744) 2018-12-19 15:10:16 -05:00
hello_world_i18n fix(ivy): remove obsolete ng_module code for global and jit mode (#27278) 2018-11-27 10:30:58 -08:00
hello_world_r2 test(ivy): remove symbol tests which are too big and not useful (#27446) 2018-12-04 23:17:52 -08:00
injection fix(ivy): provided Injector should be instantiated by its factory (#27456) 2018-12-04 20:01:49 -08:00
todo fix(ivy): process creation mode deeply before running update mode (#27744) 2018-12-19 15:10:16 -05:00
todo_i18n test(ivy): add bundling test `todo_i18n` (#27420) 2018-12-04 19:59:12 -08:00
todo_r2 test(ivy): remove symbol tests which are too big and not useful (#27446) 2018-12-04 23:17:52 -08:00
util test(ivy): fix or disable failing ivy tests (#26735) 2018-10-26 14:48:05 -04:00