Skip to content

Commit

Permalink
docs(*): update docs for scoped packages (reduxjs#704)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Mar 6, 2021
1 parent 984096f commit 511c974
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/Integrations/Remote.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Remote monitoring

By installing [`redux-devtools-cli`](https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-cli#usage), starting the server server and launching the Redux DevTools app (`redux-devtools --open`), you can connect any remote application, even not javascript. There are some integrations for javascript like [remote-redux-devtools](https://github.com/zalmoxisus/remote-redux-devtools) and [remotedev](https://github.com/zalmoxisus/remotedev), but the plan is to deprecate them and support it out of the box from the extension without a websocket server. It is more useful for non-js apps.
By installing [`@redux-devtools/cli`](https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-cli#usage), starting the server server and launching the Redux DevTools app (`redux-devtools --open`), you can connect any remote application, even not javascript. There are some integrations for javascript like [remote-redux-devtools](https://github.com/zalmoxisus/remote-redux-devtools) and [remotedev](https://github.com/zalmoxisus/remotedev), but the plan is to deprecate them and support it out of the box from the extension without a websocket server. It is more useful for non-js apps.

### WebSocket Clients

Expand Down
16 changes: 8 additions & 8 deletions docs/Walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ It’s more steps, but you will have full control over monitors and their config
### Installation

```
npm install --save-dev redux-devtools
npm install --save-dev @redux-devtools/core
```

You’ll also likely want to install some monitors:

```
npm install --save-dev redux-devtools-log-monitor
npm install --save-dev redux-devtools-dock-monitor
npm install --save-dev @redux-devtools/log-monitor
npm install --save-dev @redux-devtools/dock-monitor
```

### Usage
Expand All @@ -34,11 +34,11 @@ Somewhere in your project, create a `DevTools` component by passing a `monitor`
import React from 'react';

// Exported from redux-devtools
import { createDevTools } from 'redux-devtools';
import { createDevTools } from '@redux-devtools/core';

// Monitors are separate packages, and you can make a custom one
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';
import LogMonitor from '@redux-devtools/log-monitor';
import DockMonitor from '@redux-devtools/dock-monitor';

// createDevTools takes a monitor and produces a DevTools component
const DevTools = createDevTools(
Expand Down Expand Up @@ -113,7 +113,7 @@ If you’d like, you may add another store enhancer called `persistState()`. It

```js
// ...
import { persistState } from 'redux-devtools';
import { persistState } from '@redux-devtools/core';

const enhancer = compose(
// Middleware you want to use in development:
Expand Down Expand Up @@ -190,7 +190,7 @@ export default function configureStore(initialState) {

```js
import { createStore, applyMiddleware, compose } from 'redux';
import { persistState } from 'redux-devtools';
import { persistState } from '@redux-devtools/core';
import rootReducer from '../reducers';
import DevTools from '../containers/DevTools';

Expand Down

0 comments on commit 511c974

Please sign in to comment.