Update README.md

This commit is contained in:
Dan Abramov 2015-12-14 04:21:34 +00:00
parent 3d15db0bfd
commit b228a885d9

View File

@ -161,7 +161,7 @@ export default function configureStore(initialState) {
}
```
#### Render `<DevTools>` in Your App
#### Render `<DevTools>` in Your App...
Finally, include the `DevTools` component in your page.
A naïve way to do this would be to render it right in your `index.js`:
@ -245,7 +245,7 @@ export default class Root extends Component {
}
```
#### Adjusting the Appearance
#### ...Or Open Them in a New Window
When you use [`DockMonitor`](https://github.com/gaearon/redux-devtools-dock-monitor), you usually want to render `<DevTools>` at the root of your app. It will appear in a docked container above it. However, you can also render it anywhere else in your React component tree. In this case, youd create a development and a production version of some other component that would either include or exclude `<DevTools>`.