PHP 8.2.30
Preview: README.md Size: 1.45 KB
/home/byroehnu/.trash/node_modules11/@redux-devtools/extension/README.md

# Redux DevTools Extension's helper

[![Join the chat at https://gitter.im/zalmoxisus/redux-devtools-extension](https://badges.gitter.im/zalmoxisus/redux-devtools-extension.svg)](https://gitter.im/zalmoxisus/redux-devtools-extension?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

## Usage

Install:

```
yarn add @redux-devtools/extension
```

and use like that:

```js
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](https://github.com/reduxjs/redux-devtools/blob/main/extension/docs/API/Arguments.md):

```js
import { createStore, applyMiddleware } from 'redux';
import { composeWithDevTools } from '@redux-devtools/extension';

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

There are just a [few lines of code](https://github.com/reduxjs/redux-devtools/blob/main/packages/redux-devtools-extension/src/index.ts). If you don’t want to allow the extension in production, just use `composeWithDevToolsDevelopmentOnly` instead of `composeWithDevTools`.

## License

MIT

Directory Contents

Dirs: 2 × Files: 3

Name Size Perms Modified Actions
lib DIR
- drwxr-xr-x 2026-02-28 00:28:18
Edit Download
src DIR
- drwxr-xr-x 2026-02-28 00:28:40
Edit Download
1.06 KB lrw-r--r-- 2026-02-28 00:28:42
Edit Download
1.67 KB lrw-r--r-- 2026-02-28 00:28:44
Edit Download
1.45 KB lrw-r--r-- 2026-02-28 00:28:14
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).