An unobtrusive monitor for Redux DevTools. Depends on toastr and jquery (sorry, it was easy!)
Redux actions are displayed as they are dispacted. The type of the action is shown along with the payload and other properties of the action. If an object is nested, only the top level keys are shown.
Error actions are shown as red alert notifications. Redux internal actions, including those from redux router are shown as blue info notifications.
A warning is shown if the action does not match the flux standard action specification.
Install the npm module.
npm install --save-dev redux-devtools-bubbles-monitor
Include the component with the usual DevTools setup.
The monitor respects the state of visibleOnLoad from the DevTools component props. If visibleOnLoad is true, notifications will appear when the DebugPanel component is mounted. Ctrl-h will toggle the notification state of the monitor.
import BubblesMonitor from 'redux-devtools-bubbles-monitor'
// requires webpack css loader or just include from cdn
require('redux-devtools-bubbles-monitor/lib/toastr.min.css')
<DebugPanel top right bottom>
<DevTools store={store}
monitor={BubblesMonitor}
visibleOnLoad={true} />
</DebugPanel>
If you aren't using the webpack css loader you can include the css for toastr from cdn.
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css">
MIT