Reducer

interface Reducer<S>(source)

A pure state transform — no side effects, no dispatch.

Reducers are (S) -> S. They describe HOW state changes. All side effects (storage, network, tracking) belong in TypedActions.

Properties

Link copied to clipboard
abstract val reduce: (S) -> S