by WayneBro · 10y ago · 0 comments
switch (action.type) { case IncrementCounterAction.type: return state.update(...); case DeccrementCounterAction.type: return state.update(...); .... }