Connecting to the Redux store

Now that we are not passing down the store and the state to the form components, we need to use connect to re-connect the component to the store.

The connect function has the following signature:

connect([mapStateToProps], [mapDispatchToProps], [mergeProps], [options])

All arguments are optional, and are described next.

Get Building Enterprise JavaScript Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.