/redux-introduction

Simple assignment to check learning about Redux with React

Primary LanguageJavaScript

Redux

When you say Redux you say state management.

How Redux works

Basic concepts

Redux works standalone and there are some concepts to understand to use it properly:

  • store
  • reducers
  • actions (type and payload)

Use Redux with React

  • Provider
  • connect high order component
  • mapStateToProps to access the store managed by Redux
  • mapDispatchToProps