refactor(ivy): delete ɵɵallocHostVars
instruction (#34708)
Delete `ɵɵallocHostVars` instruction in favor of using `hostVars` declaration on `DrictiveDef` directly. PR Close #34708
This commit is contained in:
13
packages/core/test/bundling/README.md
Normal file
13
packages/core/test/bundling/README.md
Normal file
@ -0,0 +1,13 @@
|
||||
# Bundle
|
||||
|
||||
## `js_expected_symbol_test`
|
||||
This folder contains tests which assert that most of the code is tree shaken away.
|
||||
This is asserted by keeping gold files of all symbols which are expected to be retained.
|
||||
When doing renaming it is often necessary to update the gold files, to do so use this commands:
|
||||
|
||||
```
|
||||
yarn bazel run --config=ivy //packages/core/test/bundling/cyclic_import:symbol_test.accept
|
||||
yarn bazel run --config=ivy //packages/core/test/bundling/hello_world:symbol_test.accept
|
||||
yarn bazel run --config=ivy //packages/core/test/bundling/injection:symbol_test.accept
|
||||
yarn bazel run --config=ivy //packages/core/test/bundling/todo:symbol_test.accept
|
||||
```
|
@ -155,6 +155,9 @@
|
||||
{
|
||||
"name": "addComponentLogic"
|
||||
},
|
||||
{
|
||||
"name": "addHostBindingsToExpandoInstructions"
|
||||
},
|
||||
{
|
||||
"name": "addItemToStylingMap"
|
||||
},
|
||||
@ -314,9 +317,6 @@
|
||||
{
|
||||
"name": "getContainerRenderParent"
|
||||
},
|
||||
{
|
||||
"name": "getCurrentDirectiveDef"
|
||||
},
|
||||
{
|
||||
"name": "getDirectiveDef"
|
||||
},
|
||||
@ -410,6 +410,9 @@
|
||||
{
|
||||
"name": "getTNode"
|
||||
},
|
||||
{
|
||||
"name": "growHostVarsSpace"
|
||||
},
|
||||
{
|
||||
"name": "hasActiveElementFlag"
|
||||
},
|
||||
@ -552,10 +555,7 @@
|
||||
"name": "objectToClassName"
|
||||
},
|
||||
{
|
||||
"name": "prefillHostVars"
|
||||
},
|
||||
{
|
||||
"name": "queueHostBindingForCheck"
|
||||
"name": "setHostBindingsByExecutingExpandoInstructions"
|
||||
},
|
||||
{
|
||||
"name": "refreshChildComponents"
|
||||
@ -647,9 +647,6 @@
|
||||
{
|
||||
"name": "setDirectiveStylingInput"
|
||||
},
|
||||
{
|
||||
"name": "setHostBindings"
|
||||
},
|
||||
{
|
||||
"name": "setIncludeViewProviders"
|
||||
},
|
||||
@ -707,9 +704,6 @@
|
||||
{
|
||||
"name": "writeStylingValueDirectly"
|
||||
},
|
||||
{
|
||||
"name": "ɵɵallocHostVars"
|
||||
},
|
||||
{
|
||||
"name": "ɵɵdefineComponent"
|
||||
},
|
||||
|
@ -140,6 +140,9 @@
|
||||
{
|
||||
"name": "_renderCompCount"
|
||||
},
|
||||
{
|
||||
"name": "addHostBindingsToExpandoInstructions"
|
||||
},
|
||||
{
|
||||
"name": "addItemToStylingMap"
|
||||
},
|
||||
@ -263,9 +266,6 @@
|
||||
{
|
||||
"name": "getContainerRenderParent"
|
||||
},
|
||||
{
|
||||
"name": "getCurrentDirectiveDef"
|
||||
},
|
||||
{
|
||||
"name": "getDirectiveDef"
|
||||
},
|
||||
@ -350,6 +350,9 @@
|
||||
{
|
||||
"name": "getTNode"
|
||||
},
|
||||
{
|
||||
"name": "growHostVarsSpace"
|
||||
},
|
||||
{
|
||||
"name": "hasActiveElementFlag"
|
||||
},
|
||||
@ -447,10 +450,7 @@
|
||||
"name": "objectToClassName"
|
||||
},
|
||||
{
|
||||
"name": "prefillHostVars"
|
||||
},
|
||||
{
|
||||
"name": "queueHostBindingForCheck"
|
||||
"name": "setHostBindingsByExecutingExpandoInstructions"
|
||||
},
|
||||
{
|
||||
"name": "refreshChildComponents"
|
||||
@ -524,9 +524,6 @@
|
||||
{
|
||||
"name": "setCurrentQueryIndex"
|
||||
},
|
||||
{
|
||||
"name": "setHostBindings"
|
||||
},
|
||||
{
|
||||
"name": "setIncludeViewProviders"
|
||||
},
|
||||
@ -572,9 +569,6 @@
|
||||
{
|
||||
"name": "writeStylingValueDirectly"
|
||||
},
|
||||
{
|
||||
"name": "ɵɵallocHostVars"
|
||||
},
|
||||
{
|
||||
"name": "ɵɵdefineComponent"
|
||||
},
|
||||
|
@ -344,6 +344,9 @@
|
||||
{
|
||||
"name": "addComponentLogic"
|
||||
},
|
||||
{
|
||||
"name": "addHostBindingsToExpandoInstructions"
|
||||
},
|
||||
{
|
||||
"name": "addItemToStylingMap"
|
||||
},
|
||||
@ -647,9 +650,6 @@
|
||||
{
|
||||
"name": "getContextLView"
|
||||
},
|
||||
{
|
||||
"name": "getCurrentDirectiveDef"
|
||||
},
|
||||
{
|
||||
"name": "getCurrentStyleSanitizer"
|
||||
},
|
||||
@ -824,6 +824,9 @@
|
||||
{
|
||||
"name": "getValuesCount"
|
||||
},
|
||||
{
|
||||
"name": "growHostVarsSpace"
|
||||
},
|
||||
{
|
||||
"name": "handleError"
|
||||
},
|
||||
@ -1083,10 +1086,7 @@
|
||||
"name": "patchHostStylingFlag"
|
||||
},
|
||||
{
|
||||
"name": "prefillHostVars"
|
||||
},
|
||||
{
|
||||
"name": "queueHostBindingForCheck"
|
||||
"name": "setHostBindingsByExecutingExpandoInstructions"
|
||||
},
|
||||
{
|
||||
"name": "readPatchedData"
|
||||
@ -1238,9 +1238,6 @@
|
||||
{
|
||||
"name": "setGuardMask"
|
||||
},
|
||||
{
|
||||
"name": "setHostBindings"
|
||||
},
|
||||
{
|
||||
"name": "setIncludeViewProviders"
|
||||
},
|
||||
@ -1367,9 +1364,6 @@
|
||||
{
|
||||
"name": "ɵɵadvance"
|
||||
},
|
||||
{
|
||||
"name": "ɵɵallocHostVars"
|
||||
},
|
||||
{
|
||||
"name": "ɵɵclassProp"
|
||||
},
|
||||
|
Reference in New Issue
Block a user