renderModeReducer

Reducer for the render mode.

Return

the new render mode.

Parameters

state

the current render mode state.

action

the action to perform.