File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ function addTodo(text) {
66
66
67
67
This makes them portable and easy to test.
68
68
69
- In Flux [ traditional Flux] ( http://facebook.github.io/flux ) action creators often trigger a dispatch when invoked, like so:
69
+ In [ traditional Flux] ( http://facebook.github.io/flux ) action creators often trigger a dispatch when invoked, like so:
70
70
71
71
``` js
72
72
function addTodoWithDispatch (text ) {
@@ -78,7 +78,8 @@ function addTodoWithDispatch(text) {
78
78
}
79
79
```
80
80
81
- In Redux to actually initiate a dispatch, pass the result to the ` dispatch() ` function:
81
+ In Redux this is * not* the case.
82
+ Instead, to actually initiate a dispatch, pass the result to the ` dispatch() ` function:
82
83
83
84
``` js
84
85
dispatch (addTodo (text))
You can’t perform that action at this time.
0 commit comments