diff --git a/README.md b/README.md index 4dff412..5c06e5d 100644 --- a/README.md +++ b/README.md @@ -52,8 +52,8 @@ Name | Description `theme` | Either a string referring to one of the themes provided by [redux-devtools-themes](https://github.com/gaearon/redux-devtools-themes) (feel free to contribute!) or a custom object of the same format. Optional. By default, set to [`'nicinabox'`](https://github.com/gaearon/redux-devtools-themes/blob/master/src/nicinabox.js). `select` | A function that selects the slice of the state for DevTools to show. For example, `state => state.thePart.iCare.about`. Optional. By default, set to `state => state`. `preserveScrollTop` | When `true`, records the current scroll top every second so it can be restored on refresh. This only has effect when used together with `persistState()` enhancer from Redux DevTools. By default, set to `true`. -`expandActionRoot` | When `true`, displays the action object expanded rather than collapsed. By default, set to `true`. -`expandStateRoot` | When `true`, displays the state object expanded rather than collapsed. By default, set to `true`. +`expandActionRoot` | When `true`, displays the action object expanded rather than collapsed. By default, set to `false`. +`expandStateRoot` | When `true`, displays the state object expanded rather than collapsed. By default, set to `false`. ### License diff --git a/src/LogMonitor.js b/src/LogMonitor.js index da23f4f..8dce38f 100644 --- a/src/LogMonitor.js +++ b/src/LogMonitor.js @@ -67,8 +67,8 @@ export default class LogMonitor extends Component { select: (state) => state, theme: 'nicinabox', preserveScrollTop: true, - expandActionRoot: true, - expandStateRoot: true + expandActionRoot: false, + expandStateRoot: false }; shouldComponentUpdate = shouldPureComponentUpdate;