Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/Reference/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,10 @@ store.

```js
// actionCreators.js
function addTodo(text) {
export function addTodo(text) {
// ...
}
function removeTodo(id) {
export function removeTodo(id) {
// ...
}

Expand All @@ -320,7 +320,7 @@ console.log(actionCreators);
store.dispatch(actionCreators.addTodo('Use Redux'));

// But it can be handy to bind action creators to a store instance:
let boundActionCreators = bindActionCreators(action, store.dispatch);
let boundActionCreators = bindActionCreators(actionCreators, store.dispatch);
boundActionCreators.addTodo('Use Redux');
// You can pass them down and decouple components below from the Redux store.
```
Expand Down