3b368269e6
* Use pnpm * Update package.json's * Add pnpm-lock.yaml to prettierignore * Define packages for lerna * Fix build * Fix build * Fix build * Fix build * Fix build * Fix build * Update * Fix build * Fix build * Fix build * Try specific version * Try different specific version * Test * Skip for now |
||
---|---|---|
.. | ||
examples/todomvc | ||
src | ||
.eslintignore | ||
.eslintrc.js | ||
babel.config.esm.json | ||
babel.config.json | ||
CHANGELOG.md | ||
LICENSE.md | ||
package.json | ||
README.md | ||
tsconfig.json |
Redux DevTools 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/reduxjs/redux-devtools.git
cd packages/redux-devtools-slider-monitor/examples/todomvc
yarn install
npm start
open http://localhost:3000
License
MIT