as vm"> <musician-search [query]="vm.query">./musician-search> <musician-list [musicians]="vm.musicians" [activeMusician]="vm.activeMusician" >./musician-list> <musician-details [musician]="vm.activeMusician" >./musician-details> ./ng-container> `, }) export class MusiciansComponent { readonly vm$ = this.store.select(selectMusiciansPageViewModel); constructor(private readonly store: Store) {} } musicians.selectors.ts export const selectMusiciansPageViewModel = createSelector( selectFilteredMusicians, selectMusiciansQuery, selectActiveMusician, (musicians, query, activeMusician) .> ({ musicians, query, activeMusician, }) );