redux-devtools-diff-monitor
A new monitor for Redux Devtools that diffs the redux store mutations between actions for a more concise view into your application's lifecycle.
Last updated 9 years ago by iktl .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install redux-devtools-diff-monitor 
SYNC missed versions from official npm registry.

Redux DevTools – Diff Monitor

build status npm version npm downloads

5.0 has been released with support for React 15. It contains other improvements to performance (such as calculating diff only when an action is expanded) and some cosmetic changes.

This project provides an alternate monitor for Redux DevTools. The primary goal of this monitor is to highlight the changes to an application's state from action to action. This tool includes the main features from the default DevTools monitor (rollback, commit, reset and individual action toggles).

Imgur

Installation Examples

See the Redux Devtools documentation for full details about how to use monitors.

Standalone Monitor

To use Diff Monitor by itself along with Redux Devtools, simply pass it to the createDevTools function directly.

Install from npm: npm install --save-dev redux-devtools redux-devtools-diff-monitor

import React from 'react';
import { createDevTools } from 'redux-devtools';
import DiffMonitor from 'redux-devtools-diff-monitor';

export default createDevTools(
  <DiffMonitor />
);

Using DockMonitor

The DockMonitor component provides common docking functionality that makes monitors easier to work with. See the documentation for additional details.

Install from npm: npm install --save-dev redux-devtools-dock-monitor redux-devtools-diff-monitor

import React from 'react';
import { createDevTools } from 'redux-devtools';
import DiffMonitor from 'redux-devtools-diff-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';

export default const DevTools = createDevTools(
    <DockMonitor
        toggleVisibilityKey='ctrl-h'
        changePositionKey='ctrl-q'
    >
        <DiffMonitor theme='tomorrow' />
    </DockMonitor>
);

Usage

  • New actions appear at the top of the monitor as they occur.
  • Actions will be minimized by default; actions shown in green are causing a state mutation.
  • Click an action name to expand its pane to view the state mutations the action caused.
  • Click "disable" next to any action name to ignore that action and roll back the state mutations that action caused.
  • As in the default Redux DevTools, click 'Commit' to reset the monitor and set the current app state as the rollback point. If you click rollback after clicking commit, actions will be replayed through the commit point.

Current Tags

  • 4.1.0                                ...           beta (9 years ago)
  • 5.0.5                                ...           latest (9 years ago)
  • 5.0.0                                ...           rc (9 years ago)
  • 5.0.1                                ...           rc2 (9 years ago)

28 Versions

  • 5.0.5                                ...           9 years ago
  • 5.0.4                                ...           9 years ago
  • 5.0.3                                ...           9 years ago
  • 5.0.2                                ...           9 years ago
  • 5.0.1                                ...           9 years ago
  • 5.0.0                                ...           9 years ago
  • 4.1.0                                ...           9 years ago
  • 4.0.1                                ...           9 years ago
  • 4.0.0                                ...           9 years ago
  • 3.0.0                                ...           9 years ago
  • 2.0.3                                ...           9 years ago
  • 2.0.2                                ...           9 years ago
  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
  • 0.2.2                                ...           9 years ago
  • 0.2.1                                ...           9 years ago
  • 0.2.0                                ...           9 years ago
  • 0.1.9                                ...           9 years ago
  • 0.1.8                                ...           9 years ago
  • 0.1.7                                ...           9 years ago
  • 0.1.6                                ...           9 years ago
  • 0.1.5                                ...           9 years ago
  • 0.1.4                                ...           9 years ago
  • 0.1.3                                ...           9 years ago
  • 0.1.2                                ...           9 years ago
  • 0.1.1                                ...           9 years ago
  • 0.1.0                                ...           9 years ago
Maintainers (2)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (4)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE