Skip to content

Commit

Permalink
Move MultipleMonitor to a new package https://github.com/YoruNoHikage…
Browse files Browse the repository at this point in the history
  • Loading branch information
YoruNoHikage committed Feb 25, 2016
1 parent e002392 commit 603b174
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 48 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Dispatch your actions manually to test if your app reacts well.

You can declare your Dispatcher the same way you declare a Monitor in your Dev Tools.

```js
```jsx
import React from 'react';
import { createDevTools } from 'redux-devtools';
import Dispatcher from 'redux-devtools-dispatch';
Expand All @@ -25,7 +25,7 @@ export default createDevTools(

You can inject action creators to ease the process of testing your app firing yourself actions.

```js
```jsx
import React from 'react';
import { createDevTools } from 'redux-devtools';
import Dispatcher from 'redux-devtools-dispatch';
Expand All @@ -49,16 +49,16 @@ export default createDevTools(
);
```

You can also use `<MultipleMonitors>`, a hacky class to use multiple monitors into the `<DockMonitor>`:
You can also use `<MultipleMonitors>` from [`redux-devtools-multiple-monitors`](https://github.com/YoruNoHikage/redux-devtools-multiple-monitors) to use multiple monitors into the `<DockMonitor>`:

```js
```jsx
import React from 'react';

import { createDevTools } from 'redux-devtools';
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
import Dispatcher from 'redux-devtools-dispatch';
import MultipleMonitors from 'redux-devtools-dispatch/lib/MultipleMonitors';
import MultipleMonitors from 'redux-devtools-multiple-monitors';

export default createDevTools(
<DockMonitor toggleVisibilityKey="ctrl-h" changePositionKey="ctrl-q" defaultIsVisible={false}>
Expand Down
3 changes: 2 additions & 1 deletion examples/counter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"redux-devtools": "^3.0.0",
"redux-devtools-log-monitor": "^1.0.1",
"redux-devtools-dock-monitor": "^1.0.1",
"redux-devtools-dispatch": "^0.1.0",
"redux-devtools-multiple-monitors": "^1.0.0",
"redux-devtools-dispatch": "^1.0.0",
"webpack": "^1.9.11",
"webpack-dev-server": "^1.9.0"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/counter/src/containers/DevTools.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { createDevTools } from 'redux-devtools';
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
import MultipleMonitors from 'redux-devtools-dispatch/MultipleMonitors'; // use redux-devtools-dispatch/lib/MultipleMonitors with the package
import MultipleMonitors from 'redux-devtools-multiple-monitors';
import Dispatcher from 'redux-devtools-dispatch';

import * as actionCreators from '../actions/CounterActions';
Expand Down
41 changes: 0 additions & 41 deletions src/MultipleMonitors.js

This file was deleted.

0 comments on commit 603b174

Please sign in to comment.