Skip to content

Commit

Permalink
turn off devtools by default
Browse files Browse the repository at this point in the history
  • Loading branch information
pofigizm committed Mar 13, 2019
1 parent 02f79ba commit 4f83dff
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 7 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
## 1.2.0
* turn off developer tools by default

## 1.1.0
* remove environment check for developer tools

Expand Down
6 changes: 3 additions & 3 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"react-loadable": "5.5.0",
"react-redux": "5.0.7",
"react-scripts": "2.0.4",
"redux-dynamic": "1.0.0"
"redux-dynamic": "1.2.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
2 changes: 1 addition & 1 deletion example/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { createInstance } from 'redux-dynamic'
import Loadable from 'react-loadable';
import * as moduleOne from './module-one';

const dynamicStore = createInstance({ key: 'base' });
const dynamicStore = createInstance({ key: 'base', withDevTools: true });
const store = dynamicStore.getStore();

// sync module
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "redux-dynamic",
"version": "1.1.0",
"version": "1.2.0",
"description": "Allow add or remove redux modules dynamically",
"main": "lib/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/create-instance.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const createInstance = ({
thunk = {},
reducer = emptyReducer,
middleware = emptyMiddleware,
withDevTools = true,
withDevTools,
} = {}) => {
const dynamicMiddlewares = createDynamicMiddlewares()
const registry = {
Expand Down

0 comments on commit 4f83dff

Please sign in to comment.