Skip to content

Commit

Permalink
Clarify the wording
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Apr 14, 2016
1 parent 95496d0 commit 24ab45f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/basics/Actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ function addTodo(text) {

This makes them portable and easy to test.

In Flux [traditional Flux](http://facebook.github.io/flux) action creators often trigger a dispatch when invoked, like so:
In [traditional Flux](http://facebook.github.io/flux) action creators often trigger a dispatch when invoked, like so:

```js
function addTodoWithDispatch(text) {
Expand All @@ -78,7 +78,8 @@ function addTodoWithDispatch(text) {
}
```

In Redux to actually initiate a dispatch, pass the result to the `dispatch()` function:
In Redux this is *not* the case.
Instead, to actually initiate a dispatch, pass the result to the `dispatch()` function:

```js
dispatch(addTodo(text))
Expand Down

0 comments on commit 24ab45f

Please sign in to comment.