bd3b0564e6
Previously, multiple ViewContainerRef instances (obtained by injecting ViewContainerRef multiple times) each had private state that could be out of sync with actual LContainer, if views were inserted/removed/queried across the different instances. In particular each instance had its own array which tracked ViewRefs inserted via that instance. This commit moves the ViewRefs array onto the LContainer itself, so that it can be shared across multiple ViewContainerRef instances. A test is added that verifies ViewContainerRefs now provide a consistent view of the container. FW-1377 #resolve PR Close #30985 |
||
---|---|---|
.. | ||
schematics | ||
src | ||
test | ||
testing | ||
BUILD.bazel | ||
PACKAGE.md | ||
index.ts | ||
package.json | ||
public_api.ts |