ReduxSlice

Here, I am going to create the Slice and later import it into my redux store to manage the clean code. import { createSlice } from “@reduxjs/toolkit”;In the…