From this blog post: https://timdeschryver.dev/blog/parameterized-selectors
As of NgRx 6.1 selectors also accepts an extra props argument. Which
means you can now define a selector as the following:
export const getCount = createSelector(
getCounterValue,
(counter, props) => counter * props.multiply
);
this.counter = this.store.pipe(
select(fromRoot.getCount, { multiply: 2 })
);
Ah … but rereading your question, you are asking then how to build another selector that uses this selector? The above-linked article suggests building a factory function.