refactor(ivy): remove dynamicViewCount from LContainer (#23963)
PR Close #23963
This commit is contained in:

committed by
Victor Berchet

parent
7c39216083
commit
42a7295203
@ -18,8 +18,11 @@ export interface LContainer {
|
||||
/**
|
||||
* The next active index in the views array to read or write to. This helps us
|
||||
* keep track of where we are in the views array.
|
||||
* In the case the LContainer is created for a ViewContainerRef,
|
||||
* it is set to null to identify this scenario, as indices are "absolute" in that case,
|
||||
* i.e. provided directly by the user of the ViewContainerRef API.
|
||||
*/
|
||||
nextIndex: number;
|
||||
nextIndex: number|null;
|
||||
|
||||
/**
|
||||
* This allows us to jump from a container to a sibling container or
|
||||
@ -69,12 +72,6 @@ export interface LContainer {
|
||||
*/
|
||||
readonly template: ComponentTemplate<any>|null;
|
||||
|
||||
/**
|
||||
* A count of dynamic views rendered into this container. If this is non-zero, the `views` array
|
||||
* will be traversed when refreshing dynamic views on this container.
|
||||
*/
|
||||
dynamicViewCount: number;
|
||||
|
||||
/**
|
||||
* Queries active for this container - all the views inserted to / removed from
|
||||
* this container are reported to queries referenced here.
|
||||
|
@ -181,14 +181,6 @@ export interface LView {
|
||||
*/
|
||||
context: {}|RootContext|null;
|
||||
|
||||
/**
|
||||
* A count of dynamic views that are children of this view (indirectly via containers).
|
||||
*
|
||||
* This is used to decide whether to scan children of this view when refreshing dynamic views
|
||||
* after refreshing the view itself.
|
||||
*/
|
||||
dynamicViewCount: number;
|
||||
|
||||
/**
|
||||
* Queries active for this view - nodes from a view are reported to those queries
|
||||
*/
|
||||
|
Reference in New Issue
Block a user