mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Merge branch 'main' into replace-react-dragula
This commit is contained in:
commit
a04ee209cb
6
.github/workflows/CI.yml
vendored
6
.github/workflows/CI.yml
vendored
|
@ -25,10 +25,10 @@ jobs:
|
||||||
- name: Check formatting
|
- name: Check formatting
|
||||||
run: pnpm run format:check
|
run: pnpm run format:check
|
||||||
- name: Build
|
- name: Build
|
||||||
run: pnpm exec nx affected --target=build --parallel=1
|
run: pnpm run build:all
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: pnpm exec nx affected --target=lint --parallel=1
|
run: pnpm run lint:all
|
||||||
- name: Test
|
- name: Test
|
||||||
uses: GabrielBB/xvfb-action@v1
|
uses: GabrielBB/xvfb-action@v1
|
||||||
with:
|
with:
|
||||||
run: pnpm exec nx affected --target=test --parallel=1
|
run: pnpm run test:all
|
||||||
|
|
|
@ -5,10 +5,10 @@ Use with
|
||||||
- `window.__REDUX_DEVTOOLS_EXTENSION__([options])`
|
- `window.__REDUX_DEVTOOLS_EXTENSION__([options])`
|
||||||
- `window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__([options])()`
|
- `window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__([options])()`
|
||||||
- `window.__REDUX_DEVTOOLS_EXTENSION__.connect([options])`
|
- `window.__REDUX_DEVTOOLS_EXTENSION__.connect([options])`
|
||||||
- `redux-devtools-extension` npm package:
|
- `@redux-devtools/extension` npm package:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { composeWithDevTools } from 'redux-devtools-extension';
|
import { composeWithDevTools } from '@redux-devtools/extension';
|
||||||
|
|
||||||
const composeEnhancers = composeWithDevTools(options);
|
const composeEnhancers = composeWithDevTools(options);
|
||||||
const store = createStore(
|
const store = createStore(
|
||||||
|
|
|
@ -26,7 +26,7 @@ const json = {
|
||||||
|
|
||||||
#### Result:
|
#### Result:
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
Check out [examples](examples) directory for more details.
|
Check out [examples](examples) directory for more details.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user