State Reducer Pattern With React Hooks Codesandbox

State Reducer Pattern With React Hooks Codesandbox