angular-docs-cn/packages/upgrade/test
Pawel Kozlowski cf8770f3cc fix(ivy): don't create TNodes for native projectable nodes (#28275)
Before this commit we were creating a "fake" TNode for each and every
projectable node passed during dynamic component creation. This approach
had several problems:
- the existing TView structure had to be mutated to accomodate new TNodes and
it was very easy to "corrupt" TView / TNode data structures;
- TNodes are not really needed to fully support projectable nodes so we were
creating objects and updating existing data structures for nothing.

This commit changes the approach so we don't create "fake" TNodes for projectable
nodes but instead we process projectable nodes directly in the projection instruction.
As a result we've got less code, less object allocation and - as a bonus - we fix few
bugs where TView / TNode data structures were corrupted when using projectable nodes.

PR Close #28275
2019-01-23 10:56:09 -08:00
..
common build: load angular.js minified output in upgrade tests (#27711) 2018-12-18 09:29:27 -08:00
dynamic fix(ivy): don't create TNodes for native projectable nodes (#28275) 2019-01-23 10:56:09 -08:00
static fix(ivy): don't create TNodes for native projectable nodes (#28275) 2019-01-23 10:56:09 -08:00
BUILD.bazel test(upgrade): re-enable tests that have been fixed (#27305) 2018-11-29 21:29:27 -08:00