React Redux Tutorials - 19 - React Redux with Hooks
React Redux
- React Redux pattern
define action creators, reducers, provide the store and connect the components -> Components can access state and dispatch actions.
React Redux Hooks
- Hooks have been added in React-Redux v7.1.
- Hooks give function components the ability to use local component state, execute side effects, and more.
- React-Redux now offers a set of hook APIs as an alternative to existing connect higher-order component.
- The APIs allow to subscribe to the redux store and dispatch actions without having to wrap your components and connect.