MERCY. I. OHUNYON·Jan 10, 2023Counter App with UseReducerAn alternative to UseState. Accepts a reducer of type (state, action) => new State, and returns the current state paired with a dispatch…