2.13.9 • Published 3 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
3 years ago
2.13.8
5 years ago
2.13.7
5 years ago
2.13.6
5 years ago
2.13.5
6 years ago
2.13.4
6 years ago
2.13.3
6 years ago
2.13.2
7 years ago
2.13.1
7 years ago
2.13.0
7 years ago
2.0.0
7 years ago
2.12.2
7 years ago
1.0.0
8 years ago
1.0.0-beta-3
8 years ago
1.0.0-beta-2
8 years ago
1.0.0-beta-1
8 years ago
1.0.0-alpha-4
8 years ago
1.0.0-alpha-3
8 years ago
1.0.0-alpha-2
8 years ago
1.0.0-alpha-1
8 years ago
0.0.1-alpha-1
8 years ago