2.13.9 • Published 4 years ago
redux-devtools-extension v2.13.9
Redux DevTools Extension's helper
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
2.13.9
4 years ago
2.13.8
6 years ago
2.13.7
7 years ago
2.13.6
7 years ago
2.13.5
7 years ago
2.13.4
7 years ago
2.13.3
7 years ago
2.13.2
8 years ago
2.13.1
8 years ago
2.13.0
8 years ago
2.0.0
8 years ago
2.12.2
8 years ago
1.0.0
9 years ago
1.0.0-beta-3
9 years ago
1.0.0-beta-2
9 years ago
1.0.0-beta-1
9 years ago
1.0.0-alpha-4
9 years ago
1.0.0-alpha-3
9 years ago
1.0.0-alpha-2
9 years ago
1.0.0-alpha-1
9 years ago
0.0.1-alpha-1
9 years ago