Clone
Daz DeBoer
committed
on 28 Oct 18
Track unmatched versions in SelectorState
Previously, when resolving a selector we were registering the unmatched
versions at the component … Show more
Track unmatched versions in SelectorState

Previously, when resolving a selector we were registering the unmatched

versions at the component level. The `ComponentState` would keep a map

of selector -> unmatched versions, which would later be reconnected to

the original selector.

With this change, the unmatched versions are kept with the `SelectorState`

until required to form a component selection reason. This simplifies the

logic and reduces the number of collection copies required.

Show less

master + 384 more