We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b721292 commit 2fbc535Copy full SHA for 2fbc535
README.md
@@ -57,13 +57,6 @@ If you use Redux Thunk in a CommonJS environment:
57
const { thunk } = require('redux-thunk')
58
```
59
60
-Additionally, since 2.x, we also support a
61
-[UMD build](https://unpkg.com/redux-thunk/dist/redux-thunk.min.js) for use as a global script tag:
62
-
63
-```js
64
-const ReduxThunk = window.ReduxThunk.thunk
65
-```
66
67
</details>
68
69
Then, to enable Redux Thunk, use
@@ -253,7 +246,7 @@ Promises to wait for each other’s completion:
253
246
254
247
```js
255
248
import { createStore, applyMiddleware } from 'redux'
256
-import thunk from 'redux-thunk'
249
+import { thunk } from 'redux-thunk'
257
250
import rootReducer from './reducers'
258
251
259
252
// Note: this API requires redux@>=3.1.0
0 commit comments