mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 16:09:50 +03:00
chart-monitor
This commit is contained in:
parent
d445e9fade
commit
7f49051889
|
@ -1,6 +1,6 @@
|
|||
A pure function to convert a map into a tree structure. Created by [@romseguy](https://github.com/romseguy) and merged from [`romseguy/map2tree`](https://github.com/romseguy/map2tree).
|
||||
|
||||
The following opinions must be taken into account since the primary use case of this library is [redux-devtools-chart-monitor](https://github.com/romseguy/redux-devtools-chart-monitor):
|
||||
The following opinions must be taken into account since the primary use case of this library is [redux-devtools-chart-monitor](https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-chart-monitor):
|
||||
|
||||
- Objects and arrays deeply nested within collections are not converted into a tree structure. See `someNestedObject` and `someNestedArray` in the [output](https://github.com/romseguy/map2tree#output) below, or the [corresponding test](https://github.com/romseguy/map2tree/blob/master/test/map2tree.js#L140).
|
||||
- Provides support for [Immutable.js](https://github.com/facebook/immutable-js) data structures (only List and Map though).
|
||||
|
|
|
@ -15,7 +15,7 @@ It shows a real-time view of the store aka the current state of the app.
|
|||
### Installation
|
||||
|
||||
```
|
||||
yarn add redux-devtools-chart-monitor
|
||||
yarn add @redux-devtools/chart-monitor
|
||||
```
|
||||
|
||||
### Usage
|
||||
|
@ -27,7 +27,7 @@ You can use `ChartMonitor` as the only monitor in your app:
|
|||
```js
|
||||
import React from 'react';
|
||||
import { createDevTools } from '@redux-devtools/core';
|
||||
import ChartMonitor from 'redux-devtools-chart-monitor';
|
||||
import ChartMonitor from '@redux-devtools/chart-monitor';
|
||||
|
||||
export default createDevTools(<ChartMonitor />);
|
||||
```
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"name": "redux-devtools-chart-monitor",
|
||||
"name": "@redux-devtools/chart-monitor",
|
||||
"version": "1.7.2",
|
||||
"description": "Chart monitor for Redux DevTools",
|
||||
"keywords": [
|
||||
|
|
|
@ -37,6 +37,7 @@
|
|||
"prepublishOnly": "npm run clean && npm run build"
|
||||
},
|
||||
"dependencies": {
|
||||
"@redux-devtools/chart-monitor": "^1.7.2",
|
||||
"@redux-devtools/core": "^3.7.0",
|
||||
"@redux-devtools/inspector-monitor": "^0.14.0",
|
||||
"@redux-devtools/log-monitor": "^2.1.0",
|
||||
|
@ -57,7 +58,6 @@
|
|||
"react-is": "^16.13.1",
|
||||
"react-redux": "^7.2.1",
|
||||
"redux": "^4.0.5",
|
||||
"redux-devtools-chart-monitor": "^1.7.2",
|
||||
"redux-devtools-inspector-monitor-test-tab": "^0.6.2",
|
||||
"redux-devtools-inspector-monitor-trace-tab": "^0.1.3",
|
||||
"redux-persist": "^4.10.2",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import React, { Component } from 'react';
|
||||
import { connect, ResolveThunks } from 'react-redux';
|
||||
import ChartMonitor from 'redux-devtools-chart-monitor';
|
||||
import ChartMonitor from '@redux-devtools/chart-monitor';
|
||||
import { NodeWithId } from 'd3-state-visualizer';
|
||||
import { selectMonitorWithState } from '../../actions';
|
||||
|
||||
|
|
|
@ -107,7 +107,7 @@ In fact some of these are implemented already:
|
|||
|
||||

|
||||
|
||||
#### [Chart Monitor](https://github.com/romseguy/redux-devtools-chart-monitor)
|
||||
#### [Chart Monitor](https://github.com/reduxjs/redux-devtools/tree/master/packages/redux-devtools-chart-monitor)
|
||||
|
||||

|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user