reduce

open override fun reduce(state: StylishTreeState, action: StylishTreeAction): StylishTreeState

Returns the next state for action without mutating state.