rootReducer

fun rootReducer(state: ClientState, action: Any): ClientState

Root reducer of the client. Uses all the other reducers.

Return

the new state of the application.

Parameters

state

the current state of the application.

action

the action to perform.