* Computes the number of root nodes in all views in a given LContainer.
(lContainer: LContainer)
| 168 | * Computes the number of root nodes in all views in a given LContainer. |
| 169 | */ |
| 170 | function calcNumRootNodesInLContainer(lContainer: LContainer): number { |
| 171 | const rootNodes: unknown[] = []; |
| 172 | collectNativeNodesInLContainer(lContainer, rootNodes); |
| 173 | return rootNodes.length; |
| 174 | } |
| 175 | |
| 176 | /** |
| 177 | * Annotates root level component's LView for hydration, |
no test coverage detected
searching dependent graphs…