/react-redux-app

A simple cart app the explores the powers of combining redux and react

Primary LanguageJavaScript

Redux Toolkit

Access the app

A simple cart app the explores the powers of combining redux and react

React Course

The React Course

Docs

Redux Toolkit Docs

Install Template

npx create-react-app my-app --template redux
  • @latest
npx create-react-app@latest my-app --template redux

Existing App

npm install @reduxjs/toolkit react-redux

@reduxjs/toolkit

consists of few libraries

  • redux (core library, state management)
  • immer (allows to mutate state)
  • redux-thunk (handles async actions)
  • reselect (simplifies reducer functions)

Extras

  • redux devtools
  • combine reducers

react-redux

connects our app to redux