mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-01-31 11:51:41 +03:00
Update to final 3.0 APIs
This commit is contained in:
parent
b14c64f02b
commit
e94eab68e3
|
@ -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"
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -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>
|
||||
);
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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": {
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user