Update to final 3.0 APIs

This commit is contained in:
Dan Abramov 2015-12-14 01:57:48 +00:00
parent b14c64f02b
commit e94eab68e3
6 changed files with 12 additions and 12 deletions

View File

@ -27,9 +27,9 @@
"babel-loader": "^5.1.4",
"node-libs-browser": "^0.5.2",
"react-hot-loader": "^1.3.0",
"redux-devtools": "^3.0.0-beta-3",
"redux-devtools-log-monitor": "^1.0.0-beta-3",
"redux-devtools-dock-monitor": "^1.0.0-beta-3",
"redux-devtools": "^3.0.0",
"redux-devtools-log-monitor": "^1.0.1",
"redux-devtools-dock-monitor": "^1.0.1",
"webpack": "^1.9.11",
"webpack-dev-server": "^1.9.0"
}

View File

@ -4,8 +4,8 @@ import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
export default createDevTools(
<DockMonitor toggleVisibilityKey='H'
changePositionKey='Q'>
<DockMonitor toggleVisibilityKey='ctrl-h'
changePositionKey='ctrl-q'>
<LogMonitor />
</DockMonitor>
);

View File

@ -4,8 +4,8 @@ import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
export default createDevTools(
<DockMonitor toggleVisibilityKey='H'
changePositionKey='Q'>
<DockMonitor toggleVisibilityKey='ctrl-h'
changePositionKey='ctrl-q'>
<LogMonitor />
</DockMonitor>
);

View File

@ -40,9 +40,9 @@
"node-libs-browser": "^0.5.2",
"raw-loader": "^0.5.1",
"react-hot-loader": "^1.3.0",
"redux-devtools": "^3.0.0-beta-3",
"redux-devtools-log-monitor": "^1.0.0-beta-3",
"redux-devtools-dock-monitor": "^1.0.0-beta-3",
"redux-devtools": "^3.0.0",
"redux-devtools-log-monitor": "^1.0.1",
"redux-devtools-dock-monitor": "^1.0.1",
"style-loader": "^0.12.3",
"todomvc-app-css": "^2.0.1",
"webpack": "^1.9.11",

View File

@ -1,6 +1,6 @@
{
"name": "redux-devtools",
"version": "3.0.0-beta-3",
"version": "3.0.0",
"description": "Redux DevTools with hot reloading and time travel",
"main": "lib/index.js",
"scripts": {

View File

@ -8,7 +8,7 @@ export default function createDevTools(children) {
const Monitor = monitorElement.type;
const ConnectedMonitor = connect(state => state)(Monitor);
const enhancer = instrument((state, action) =>
Monitor.reducer(state, action, monitorProps)
Monitor.update(monitorProps, state, action)
);
return class DevTools extends Component {