mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-26 03:23:55 +03:00
Update links
This commit is contained in:
parent
39f9151bca
commit
52f1a4e116
|
@ -73,7 +73,7 @@ A store enhancer is a function that enhances the behavior of `createStore()`. Yo
|
|||
|
||||
The easiest way to apply several store enhancers in a row is to use the [`compose()`](http://redux.js.org/docs/api/compose.html) utility function that ships with Redux. It is the same `compose()` that you can find in Underscore and Lodash. In our case, we would use it to compose several store enhancers into one: `compose(applyMiddleware(m1, m2, m3), DevTools.instrument())`.
|
||||
|
||||
You can add additional options to it: `DevTools.instrument({ maxAge: 50, shouldCatchErrors: true })`. See [`redux-devtools-instrument`'s API](https://github.com/zalmoxisus/redux-devtools-instrument#api) for more details.
|
||||
You can add additional options to it: `DevTools.instrument({ maxAge: 50, shouldCatchErrors: true })`. See [`redux-devtools-instrument`'s API](https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-instrument#api) for more details.
|
||||
|
||||
It’s important that you should add `DevTools.instrument()` *after* `applyMiddleware` in your `compose()` function arguments. This is because `applyMiddleware` is potentially asynchronous, but `DevTools.instrument()` expects all actions to be plain objects rather than actions interpreted by asynchronous middleware such as [redux-promise](https://github.com/acdlite/redux-promise) or [redux-thunk](https://github.com/gaearon/redux-thunk). So make sure `applyMiddleware()` goes first in the `compose()` call, and `DevTools.instrument()` goes after it.
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
Redux DevTools Instrumentation
|
||||
==============================
|
||||
|
||||
Redux enhancer used along with [Redux DevTools](https://github.com/gaearon/redux-devtools) or [Remote Redux DevTools](https://github.com/zalmoxisus/remote-redux-devtools).
|
||||
Redux enhancer used along with [Redux DevTools](https://github.com/reduxjs/redux-devtools) or [Remote Redux DevTools](https://github.com/zalmoxisus/remote-redux-devtools).
|
||||
|
||||
### Installation
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/zalmoxisus/redux-devtools-instrument.git"
|
||||
"url": "https://github.com/reduxjs/redux-devtools.git"
|
||||
},
|
||||
"keywords": [
|
||||
"redux",
|
||||
|
@ -32,9 +32,9 @@
|
|||
"author": "Dan Abramov <dan.abramov@me.com> (http://github.com/gaearon)",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/zalmoxisus/redux-devtools-instrument/issues"
|
||||
"url": "https://github.com/reduxjs/redux-devtools/issues"
|
||||
},
|
||||
"homepage": "https://github.com/zalmoxisus/redux-devtools-instrument",
|
||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.3.17",
|
||||
"babel-core": "^6.3.17",
|
||||
|
|
|
@ -50,10 +50,10 @@ Clone the project:
|
|||
|
||||
```
|
||||
git clone https://github.com/reduxjs/redux-devtools.git
|
||||
cd redux-devtools
|
||||
cd redux-devtools/packages/redux-devtools
|
||||
```
|
||||
|
||||
Run `npm install` in the root folder:
|
||||
Run `npm install` in the package folder:
|
||||
|
||||
```
|
||||
npm install
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
First, clone the project:
|
||||
|
||||
```
|
||||
git clone https://github.com/gaearon/redux-devtools.git
|
||||
git clone https://github.com/reduxjs/redux-devtools.git
|
||||
```
|
||||
|
||||
Then install the dependencies in the root folder:
|
||||
Then install the dependencies in the package folder:
|
||||
|
||||
```
|
||||
cd redux-devtools
|
||||
cd redux-devtools/packages/redux-devtools
|
||||
npm install
|
||||
```
|
||||
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/gaearon/redux-devtools.git"
|
||||
"url": "https://github.com/reduxjs/redux-devtools.git"
|
||||
},
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/gaearon/redux-devtools/issues"
|
||||
"url": "https://github.com/reduxjs/redux-devtools/issues"
|
||||
},
|
||||
"homepage": "https://github.com/gaearon/redux-devtools#readme",
|
||||
"homepage": "https://github.com/reduxjs/redux-devtools#readme",
|
||||
"dependencies": {
|
||||
"prop-types": "^15.5.7",
|
||||
"react": "^15.3.0",
|
||||
|
|
|
@ -5,13 +5,13 @@
|
|||
First, clone the project:
|
||||
|
||||
```
|
||||
git clone https://github.com/gaearon/redux-devtools.git
|
||||
git clone https://github.com/reduxjs/redux-devtools.git
|
||||
```
|
||||
|
||||
Then install the dependencies in the root folder:
|
||||
Then install the dependencies in the package folder:
|
||||
|
||||
```
|
||||
cd redux-devtools
|
||||
cd redux-devtools/packages/redux-devtools
|
||||
npm install
|
||||
```
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/gaearon/redux-devtools.git"
|
||||
"url": "https://github.com/reduxjs/redux-devtools.git"
|
||||
},
|
||||
"keywords": [
|
||||
"react",
|
||||
|
@ -24,9 +24,9 @@
|
|||
],
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/gaearon/redux-devtools/issues"
|
||||
"url": "https://github.com/reduxjs/redux-devtools/issues"
|
||||
},
|
||||
"homepage": "https://github.com/gaearon/redux-devtools#readme",
|
||||
"homepage": "https://github.com/reduxjs/redux-devtools#readme",
|
||||
"dependencies": {
|
||||
"classnames": "^2.1.2",
|
||||
"prop-types": "^15.5.7",
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/gaearon/redux-devtools.git"
|
||||
"url": "https://github.com/reduxjs/redux-devtools.git"
|
||||
},
|
||||
"keywords": [
|
||||
"redux",
|
||||
|
@ -32,9 +32,9 @@
|
|||
"author": "Dan Abramov <dan.abramov@me.com> (http://github.com/gaearon)",
|
||||
"license": "MIT",
|
||||
"bugs": {
|
||||
"url": "https://github.com/gaearon/redux-devtools/issues"
|
||||
"url": "https://github.com/reduxjs/redux-devtools/issues"
|
||||
},
|
||||
"homepage": "https://github.com/gaearon/redux-devtools",
|
||||
"homepage": "https://github.com/reduxjs/redux-devtools",
|
||||
"devDependencies": {
|
||||
"babel-cli": "^6.3.17",
|
||||
"babel-core": "^6.3.17",
|
||||
|
|
Loading…
Reference in New Issue
Block a user