File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ npm install redux-thunk
12
12
13
13
## Note on 2.x Update
14
14
15
- Most tutorials today assume Redux Thunk 1.x so you might run into an issue when
16
- running their code with 2.x.
17
- ** If you use Redux Thunk 2.x in CommonJS environment,
15
+ Most tutorials today assume that you're using Redux Thunk 1.x. You may run into
16
+ issues when you run their code with 2.x. ** If you use Redux Thunk 2.x in
17
+ CommonJS environment,
18
18
[ don’t forget to add ` .default ` to your import] ( https://github.com/reduxjs/redux-thunk/releases/tag/v2.0.0 ) :**
19
19
20
20
``` diff
@@ -40,7 +40,7 @@ As you can see, it also requires `.default` at the end.
40
40
## Why Do I Need This?
41
41
42
42
With a plain basic Redux store, you can only do simple synchronous updates by
43
- dispatching an action. Middleware extend the store's abilities, and let you
43
+ dispatching an action. Middleware extends the store's abilities, and lets you
44
44
write async logic that interacts with the store.
45
45
46
46
Thunks are the recommended middleware for basic Redux side effects logic,
You can’t perform that action at this time.
0 commit comments