Redux DevTools Dock Monitor
A resizable and movable dock for Redux DevTools. Powered by React Dock.
Installation
Usage
Wrap any other Redux DevTools monitor in DockMonitor
to make it dockable to different screen edges. For example, you can use it together with LogMonitor
:
containers/DevTools.js
Read how to start using Redux DevTools.
Multiple Monitors
You can put more than one monitor inside <DockMonitor>
. There will still be a single dock, but you will be able to switch between different monitors by pressing a key specified as changeMonitorKey
prop.
Props
Name | Description |
---|---|
| Any valid Redux DevTools monitor. Required. |
| A key or a key combination that toggles the dock visibility. Must be recognizable by parse-key (for example, |
| A key or a key combination that toggles the dock position. Must be recognizable by parse-key (for example, |
| A key or a key combination that switches the currently visible monitor. Must be recognizable by parse-key (for example, |
| When |
| Size of the dock. When |
| Where the dock appears on the screen. Valid values: |
| Defines whether dock should be open by default. A value of |
The current size and the position are persisted between sessions with persistState()
enhancer from Redux DevTools.
License
MIT
Last updated