Skip to content

Commit 1eb5d62

Browse files
author
Rob Sharp
committed
Prefer 'store enhancer' and remove duplicate CounterApp
1 parent c567bb2 commit 1eb5d62

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A live-editing time travel environment for Redux.
2121
npm install --save-dev redux-devtools
2222
```
2323

24-
DevTools is a middleware, which should be added to your middleware stack *after* `applyMiddleware` because `applyMiddleware` is potentially asynchronous. Otherwise, DevTools won't see the raw actions emitted by the Promise middleware etc.
24+
DevTools is a store enhancer, which should be added to your middleware stack *after* `applyMiddleware` as `applyMiddleware` is potentially asynchronous. Otherwise, DevTools won't see the raw actions emitted by the Promise store enhancer etc.
2525

2626
To install, firstly import `devTools` into your App container:
2727
```
@@ -46,9 +46,6 @@ Lastly, include the `DebugPanel` in your page:
4646
export default class App extends Component {
4747
render() {
4848
return (
49-
<Provider store={store}>
50-
{() => <CounterApp />}
51-
</Provider>
5249
<div>
5350
<Provider store={store}>
5451
{() => <CounterApp />}

0 commit comments

Comments
 (0)