Skip to content

Commit 16d8d67

Browse files
committed
Async Actions docs: smaller changes #2
1 parent 98239b6 commit 16d8d67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/advanced/AsyncActions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,11 +294,11 @@ Remember that reducers are just functions, so you can use functional composition
294294
## Async Action Creators
295295

296296
Finally, how do we use the synchronous action creators we [defined earlier](#synchronous-action-creators) together with network requests? The standard
297-
way to do it with Redux is to use the [edux-thunk middleware](https://github.com/gaearon/redux-thunk). We'll explain how middleware works in general [later](Middleware.md); for now, there
297+
way to do it with Redux is to use the [redux-thunk middleware](https://github.com/gaearon/redux-thunk). We'll explain how middleware works in general [later](Middleware.md); for now, there
298298
is just one important thing you need to know: by using this specific middleware, an action creator can return a function instead an action object.
299299
This way, the function creator becomes a [thunk](https://en.wikipedia.org/wiki/Thunk).
300300

301-
When a function creator returns a function, that function will get executed by the redux-thunk middleware. This function doesn't need to be pure;
301+
When a function creator returns a function, that function will get executed by the Redux-Thunk middleware. This function doesn't need to be pure;
302302
it is thus allowed to have side effects, including executing asynchronous API calls. The function can also dispatch actions -
303303
like those synchronous actions we defined earlier.
304304

0 commit comments

Comments
 (0)