electron-redux-multi-window-comm-debugger
v1.0.0
Published
Debugger for electron-redux-multi-window-comm
Downloads
1
Readme
Debugger for electron-redux-multi-window-comm
Debugger for electron-redux-multi-window-comm in the form of a React component.
This debugger component displays:
- List of currently tracked windows
- Current window's subscriptions and their status
- List of subscribers to this window state or actions
- List of Global Actions (needs to be enabled in enhancer options)
Instalation
npm install electron-redux-multi-window-comm-debugger --save-dev
Config
In order to display Global Actions the debug mode needs to be enabled in electron-redux-multi-window-comm enhancer options.
{
"debug": {
"enabled": true,
"numOfActionsToStore": 20
}
}
Usage
import Debugger from 'electron-redux-multi-window-comm-debugger';
// Import css styles when using webpack or copy them to your css folder
import 'electron-redux-multi-window-comm-debugger/lib/styles.css';
render() {
return <Debugger />
}
Or you can import only parts of the debugger:
import {
SubscribersList,
SubscriptionList,
WindowsList,
GlobalActionList,
} from 'electron-redux-multi-window-comm-debugger';
render() {
return <GlobalActionList />
}
Screenshots
License
MIT