- npx create-react-app reduxtoolkitapi --template typescript
- cd reduxtoolkitapi
- npm install @reduxjs/toolkit axios react-redux
- npm install react-paginate
- npm install @mui/material @emotion/react @emotion/styled
- src >>> store >>> index.tsx (create slice)
- src >>> hooks >>> index.tsx (configure and combine reducer)
- src >>> App.tsx (declare provider and store)
- src >>> page >>> index.tsx (call useDispatch and useSelector)
- src >>> page >>> postlist