renderModeReducer
Reducer for the render mode.
Return
the new render mode.
Parameters
state
the current render mode state.
action
the action to perform.
Reducer for the render mode.
the new render mode.
the current render mode state.
the action to perform.