mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +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
|
||||
run: pnpm run format:check
|
||||
- name: Build
|
||||
run: pnpm exec nx affected --target=build --parallel=1
|
||||
run: pnpm run build:all
|
||||
- name: Lint
|
||||
run: pnpm exec nx affected --target=lint --parallel=1
|
||||
run: pnpm run lint:all
|
||||
- name: Test
|
||||
uses: GabrielBB/xvfb-action@v1
|
||||
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_COMPOSE__([options])()`
|
||||
- `window.__REDUX_DEVTOOLS_EXTENSION__.connect([options])`
|
||||
- `redux-devtools-extension` npm package:
|
||||
- `@redux-devtools/extension` npm package:
|
||||
|
||||
```js
|
||||
import { composeWithDevTools } from 'redux-devtools-extension';
|
||||
import { composeWithDevTools } from '@redux-devtools/extension';
|
||||
|
||||
const composeEnhancers = composeWithDevTools(options);
|
||||
const store = createStore(
|
||||
|
|
|
@ -26,7 +26,7 @@ const json = {
|
|||
|
||||
#### Result:
|
||||
|
||||

|
||||

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