Skip to content

Commit

Permalink
Update connect-dispatching-actions-with-mapDispatchToProps.md (#1501)
Browse files Browse the repository at this point in the history
The link to bindActionCreators documentation was not working
  • Loading branch information
pursuitofloot authored and timdorr committed Jan 16, 2020
1 parent 9a10b15 commit cff554d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -218,7 +218,7 @@ function Counter({ count, increment, decrement, reset }) {

Wrapping these functions by hand is tedious, so Redux provides a function to simplify that.

> `bindActionCreators` turns an object whose values are [action creators](https://redux.js.org/glossary#action-creator), into an object with the same keys, but with every action creator wrapped into a [`dispatch`](https://redux.js.org/api/store#dispatch) call so they may be invoked directly. See [Redux Docs on `bindActionCreators`](http://redux.js.org/docs/api/bindActionCreators.html)
> `bindActionCreators` turns an object whose values are [action creators](https://redux.js.org/glossary#action-creator), into an object with the same keys, but with every action creator wrapped into a [`dispatch`](https://redux.js.org/api/store#dispatch) call so they may be invoked directly. See [Redux Docs on `bindActionCreators`](https://redux.js.org/api/bindactioncreators/)
`bindActionCreators` accepts two parameters:

Expand Down

0 comments on commit cff554d

Please sign in to comment.