renderModeReducer
fun renderModeReducer(state: <Error class: unknown class>, action: Any): <Error class: unknown class>(source)
Reducer for the render mode.
Return
the new render mode.
Parameters
state
the current render mode state.
action
the action to perform.