coding / dev / js / React React 3 items React where should the state live? React UseReducer Action not dispatching