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…

Difference Between Promise and Async Await in Javascript

Promises A promise is an object which represents the eventual completion either rejection of an asynchronous operation. Promise has methods like .then(), .catch(), and finally () to handle…