redux-devtools-extension

Redux DevTools extension

Package moved to @redux-devtools/extension.
Last updated 8 years ago by zalmoxisus .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install redux-devtools-extension 
SYNC missed versions from official npm registry.

Redux DevTools Extension's helper

Join the chat at https://gitter.im/zalmoxisus/redux-devtools-extension

Usage

Install:

npm install --save redux-devtools-extension

and use like that:

import { createStore, applyMiddleware } from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension';

const store = createStore(
  reducer,
  composeWithDevTools(
    applyMiddleware(...middleware)
    // other store enhancers if any
  )
);

or if needed to apply extension’s options:

import { createStore, applyMiddleware } from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension';

const composeEnhancers = composeWithDevTools({
  // Specify here name, actionsBlacklist, actionsCreators and other options
});
const store = createStore(
  reducer,
  composeEnhancers(
    applyMiddleware(...middleware)
    // other store enhancers if any
  )
);

There’re just few lines of code. If you don’t want to allow the extension in production, just use ‘redux-devtools-extension/developmentOnly’ instead of ‘redux-devtools-extension’.

License

MIT

Current Tags

  • 2.13.9                                ...           latest (4 years ago)

21 Versions

  • 2.13.9 [deprecated]           ...           4 years ago
  • 2.13.8 [deprecated]           ...           6 years ago
  • 2.13.7 [deprecated]           ...           6 years ago
  • 2.13.6 [deprecated]           ...           6 years ago
  • 2.13.5 [deprecated]           ...           7 years ago
  • 2.13.4 [deprecated]           ...           7 years ago
  • 2.13.3 [deprecated]           ...           7 years ago
  • 2.13.2 [deprecated]           ...           8 years ago
  • 2.13.1 [deprecated]           ...           8 years ago
  • 2.13.0 [deprecated]           ...           8 years ago
  • 2.0.0 [deprecated]           ...           8 years ago
  • 2.12.2 [deprecated]           ...           8 years ago
  • 1.0.0 [deprecated]           ...           8 years ago
  • 1.0.0-beta-3 [deprecated]           ...           8 years ago
  • 1.0.0-beta-2 [deprecated]           ...           8 years ago
  • 1.0.0-beta-1 [deprecated]           ...           8 years ago
  • 1.0.0-alpha-4 [deprecated]           ...           8 years ago
  • 1.0.0-alpha-3 [deprecated]           ...           8 years ago
  • 1.0.0-alpha-2 [deprecated]           ...           8 years ago
  • 1.0.0-alpha-1 [deprecated]           ...           8 years ago
  • 0.0.1-alpha-1 [deprecated]           ...           8 years ago
Maintainers (1)
Downloads
Total 3
Today 1
This Week 1
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (0)
None

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