Skip to content

Commit fcf7598

Browse files
committed
Merge pull request #54 from samsch/update-rackt-links
Updated rackt links to redux.js.org and reactjs/
2 parents 78c87f4 + 31a8788 commit fcf7598

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Redux Thunk
22
=============
33

4-
Thunk [middleware](http://rackt.github.io/redux/docs/advanced/Middleware.html) for Redux.
4+
Thunk [middleware](http://redux.js.org/docs/advanced/Middleware.html) for Redux.
55

66
[![build status](https://img.shields.io/travis/gaearon/redux-thunk/master.svg?style=flat-square)](https://travis-ci.org/gaearon/redux-thunk)
77
[![npm version](https://img.shields.io/npm/v/redux-thunk.svg?style=flat-square)](https://www.npmjs.com/package/redux-thunk)
@@ -19,7 +19,7 @@ If you’re not sure whether you need it, you probably don’t.
1919

2020
## Motivation
2121

22-
Redux Thunk [middleware](https://github.com/rackt/redux/blob/master/docs/advanced/Middleware.md) allows you to write action creators that return a function instead of an action. The thunk can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met. The inner function receives the store methods `dispatch` and `getState()` as parameters.
22+
Redux Thunk [middleware](https://github.com/reactjs/redux/blob/master/docs/advanced/Middleware.md) allows you to write action creators that return a function instead of an action. The thunk can be used to delay the dispatch of an action, or to dispatch only if a certain condition is met. The inner function receives the store methods `dispatch` and `getState()` as parameters.
2323

2424
An action creator that returns a function to perform asynchronous dispatch:
2525

@@ -80,7 +80,7 @@ let foo = () => 1 + 2;
8080
npm install --save redux-thunk
8181
```
8282

83-
Then, to enable Redux Thunk, use [`applyMiddleware()`](http://rackt.github.io/redux/docs/api/applyMiddleware.html):
83+
Then, to enable Redux Thunk, use [`applyMiddleware()`](http://redux.js.org/docs/api/applyMiddleware.html):
8484

8585
```js
8686
import { createStore, applyMiddleware } from 'redux';

0 commit comments

Comments
 (0)