Skip to content

Releases: zalmoxisus/redux-devtools-filter-actions

v1.2.0

20 May 16:30
Compare
Choose a tag to compare

Add actionsFilter and statesFilter props, used for stripping big data which slows down DevTools.

Example of usage:

import React from 'react';
import { createDevTools } from 'redux-devtools';
import FilterMonitor from 'redux-devtools-filter-actions';
import LogMonitor from 'redux-devtools-log-monitor';

const actionsFilter = (action) => (
  action.type === 'FILE_DOWNLOAD_SUCCESS' && action.data ?
  { ...action, data: '<<LONG_BLOB>>' } : action
);

export default createDevTools(
  <FilterMonitor
    blacklist={['ACTION1', 'ACTION2']}
    actionsFilter={actionsFilter}
    statesFilter={(state) => state.data ? { ...state, data: '<<LONG_BLOB>>' } : state}
  >
    <LogMonitor />
  </FilterMonitor>
);

v1.1.1

10 Apr 08:22
Compare
Choose a tag to compare

Allow react 15 as a peer dependency (#6)

v1.1.0

06 Feb 10:49
Compare
Choose a tag to compare

Add regex support

v1.0.1

14 Jan 08:51
Compare
Choose a tag to compare

Filter computedStates along with stagedActionIds (#4).

v1.0.0

27 Dec 10:11
Compare
Choose a tag to compare

The monitor is composable now. The project was renamed to redux-devtools-filter-actions, and instead of filter parameter we use whitelist and blacklist parameters now.