Reducers

Last Updated - Platform 18.1.0 - SDK 13.0.0

Reducers handle updating the state presented by a feature.

User interaction

.withFeatureReducer(.filterSelection)

Reducer to update the state when a Filter is changed. This happens in response to user interaction or the Filter Option Selection delegate middleware.

Handles the following actions:

FilterSelectionStateAction.update: Updates a filter in state.selected with the new value.

FilterSelectionStateAction.clearSelection: Clears all filters from state.selected.