redux-devtools/packages/redux-devtools-slider-monitor
renovate[bot] 4323824e69
chore(deps): update all non-major dependencies (#973)
* chore(deps): update all non-major dependencies

* Combine webpack

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Nathan Bierema <nbierema@gmail.com>
2021-12-08 04:11:07 +00:00
..
examples/todomvc chore(deps): update all non-major dependencies (#973) 2021-12-08 04:11:07 +00:00
src chore(*): rename devui to redux-devtools-ui (#868) 2021-09-18 14:00:58 +00:00
.babelrc chore(*): clean up babel configs (#816) 2021-08-29 23:25:48 +00:00
.eslintignore feat(redux-devtools-slider-monitor): convert to TypeScript (#631) 2020-09-10 10:10:53 -04:00
.eslintrc.js chore(*): move devDependencies back to packages (#870) 2021-09-18 23:47:03 +00:00
CHANGELOG.md chore(*): run prettier 2021-06-10 22:50:56 -04:00
LICENSE.md Rename redux-slider-monitor to redux-devtools-slider-monitor (#558) 2020-08-06 08:02:35 -04:00
package.json chore(deps): update all non-major dependencies (#973) 2021-12-08 04:11:07 +00:00
README.md chore(*): make more packages scoped (#692) 2020-12-21 15:46:28 -05:00
tsconfig.json feat(redux-devtools-slider-monitor): convert to TypeScript (#631) 2020-09-10 10:10:53 -04:00

Redux DevTools Slider Monitor

npm version

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.

Try out the demo!

Installation

yarn add @redux-devtools/slider-monitor

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