Skip to content

Commit 2fbc535

Browse files
authored
Remove reference to UMD build
1 parent b721292 commit 2fbc535

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

README.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,6 @@ If you use Redux Thunk in a CommonJS environment:
5757
const { thunk } = require('redux-thunk')
5858
```
5959

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-
6760
</details>
6861

6962
Then, to enable Redux Thunk, use
@@ -253,7 +246,7 @@ Promises to wait for each other’s completion:
253246

254247
```js
255248
import { createStore, applyMiddleware } from 'redux'
256-
import thunk from 'redux-thunk'
249+
import { thunk } from 'redux-thunk'
257250
import rootReducer from './reducers'
258251

259252
// Note: this API requires redux@>=3.1.0

0 commit comments

Comments
 (0)