Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 483 Bytes

File metadata and controls

19 lines (15 loc) · 483 Bytes

completeReduxImplementation

packages to be installed npm install @reduxjs/toolkit npm install react-reduc

folder structure src->store-> src->reducers->

import provider from react-redux import store

enclose with provider and pass the store

import useSelector from react-redux for accessing the state import useDispatch from react-redux for actions such as adding, updating and deleting operations