mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2024-11-22 09:36:43 +03:00
Invalid url
Migrate to http://redux.js.org/docs/Glossary.html#store-enhancer
This commit is contained in:
parent
619a18b26a
commit
1b8c75361d
|
@ -67,7 +67,7 @@ const DevTools = createDevTools(
|
||||||
|
|
||||||
#### Use `DevTools.instrument()` Store Enhancer
|
#### Use `DevTools.instrument()` Store Enhancer
|
||||||
|
|
||||||
The `DevTools` component you created with `createDevTools()` has a special static method called `instrument()`. It returns a [store enhancer](http://rackt.github.io/redux/docs/Glossary.html#store-enhancer) that you need to use in development.
|
The `DevTools` component you created with `createDevTools()` has a special static method called `instrument()`. It returns a [store enhancer](http://redux.js.org/docs/Glossary.html#store-enhancer) that you need to use in development.
|
||||||
|
|
||||||
A store enhancer is a function that enhances the behavior of `createStore()`. You can pass store enhancer as the last optional argument to `createStore()`. You probably already used another store enhancer—[`applyMiddleware()`](http://redux.js.org/docs/api/applyMiddleware.html). Unlike `applyMiddleware()`, you will need to be careful to only use `DevTools.instrument()` in development environment, and never in production.
|
A store enhancer is a function that enhances the behavior of `createStore()`. You can pass store enhancer as the last optional argument to `createStore()`. You probably already used another store enhancer—[`applyMiddleware()`](http://redux.js.org/docs/api/applyMiddleware.html). Unlike `applyMiddleware()`, you will need to be careful to only use `DevTools.instrument()` in development environment, and never in production.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user