d8da887da8
- d3-state-visualizer@1.3.3 - d3tooltip@1.2.3 - devui@1.0.0-5 - map2tree@1.4.2 - react-base16-styling@0.7.0 - react-json-tree@0.12.1 - redux-devtools-chart-monitor@1.7.1 - redux-devtools-cli@1.0.0-3 - redux-devtools-core@1.0.0-3 - redux-devtools-dock-monitor@1.1.4 - redux-devtools-inspector@0.13.1 - redux-devtools-instrument@1.9.7 - redux-devtools-log-monitor@2.0.1 - redux-devtools-slider-monitor@2.0.0-4 - redux-devtools-test-generator@0.6.1 - redux-devtools-trace-monitor@0.1.2 - redux-devtools@3.6.1 - remotedev-serialize@0.1.9 - d3-state-visualizer-tree-example@0.0.1 - react-json-tree-example@1.0.1 - slider-todomvc@0.0.1 - counter-redux@0.0.1 - todomvc@0.0.1 |
||
---|---|---|
.. | ||
examples/todomvc | ||
src | ||
.babelrc | ||
CHANGELOG.md | ||
LICENSE.md | ||
package.json | ||
README.md |
Redux Slider Monitor
A custom monitor for use with Redux DevTools.
It uses a slider based on react-slider to slide between different recorded actions. It also features play/pause/step-through, which is inspired by some very cool Elm examples.
Installation
yarn add redux-devtools-slider-monitor
Recommended Usage
Use with DockMonitor
<DockMonitor
toggleVisibilityKey="ctrl-h"
changePositionKey="ctrl-q"
defaultPosition="bottom"
defaultSize={0.15}
>
<SliderMonitor keyboardEnabled />
</DockMonitor>
Dispatch some Redux actions. Use the slider to navigate between the state changes.
Click the play/pause buttons to watch the state changes over time, or step backward or forward in state time with the left/right arrow buttons. Change replay speeds with the 1x
button, and "Live" will replay actions with the same time intervals in which they originally were dispatched.
Keyboard shortcuts
Pass the keyboardEnabled
prop to use these shortcuts
ctrl+j
: play/pause
ctrl+[
: step backward
ctrl+]
: step forward
Running Examples
You can do this:
git clone https://github.com/calesce/redux-slider-monitor.git
cd redux-slider-monitor
npm install
cd examples/todomvc
npm install
npm start
open http://localhost:3000
License
MIT