redux-devtools-upload-download-monitor
v1.1.0
Published
A monitor for Redux DevTools to enable uploading and downloading of serialized application states.
Downloads
5
Readme
Redux DevTools Upload/Download Monitor
A monitor for Redux DevTools to enable uploading and downloading of serialized application states. Pairs well with Redux Slider Slider Monitor! (Shown bottom-right.) See "Usage" below.
This is a re-implementation of Redux Import Export Monitor, with the goal being to work well with very large application states.
Why?
Modernize your quality assurance workflows! Instead of sharing long, verbose descriptions or even recorded-movies demonstrating how to reproduce a bug, just share the application state!
Like most Redux DevTools monitors, this tool works best if as much as possible of your application state is reflected by your Redux store's state.
Installation
# If using NPM:
npm install --save-dev redux-devtools-upload-download-monitor
# If using Yarn:
yarn add --dev redux-devtools-upload-download-monitor
Usage
import React from 'react';
import { createDevTools } from 'redux-devtools';
import UploadDownloadMonitor from 'redux-devtools-upload-download-monitor';
export default createDevTools(
<UploadDownloadMonitor />
);
You can also pass SliderMonitor as a child to display both side-by-side! If you're using this tool to assist in reproducing bugs on a team project, I recommend a configuration like this:
<DockMonitor
fluid={false}
defaultSize={170}
defaultPosition="bottom">
<UploadDownloadMonitor>
<SliderMonitor />
</UploadDownloadMonitor>
</DockMonitor>
Development
npm start # Open http://localhost:8080 for a demo page utilizing the monitor from ./src