State management using useReducer Hook:-
InitialState = isLoading, isError, Products, featureProducts
const [state, dispatch] = useReducer(reducer, initialState)
state is the initialState and dispatch function calls the reducer function which will calls the action method in reducer function.
1: Clone the Project
2: Simply run the command npm install - First to install all the packages
3: Run the project using npm start