Coding task · Angular course · Module 10: State Management

Practice: Selector

A memoized selector is created by an @ngrx/store function, the same one used in selectAllSamurai: the first arguments are the input selectors, the last one is the projector function that combines their results. A selector with a parameter is a function that returns a new selector.

Task

Complete the selectors for filtering samurai by clan.