To use connect(), you need to define a special function called mapStateToProps that tells how to transform the current Redux store state into the props you want to pass to a presentational component you are wrapping.

picture loading error handler
28 thought(s)28

React & Redux

For webdevelopers: learning to use React and Redux

Explore more quotes

Aurélie Bayre