P
P
Pogran2016-08-10 12:15:29
React
Pogran, 2016-08-10 12:15:29

Why doesn't the redux-devtools-log-monitor module display?

I have an input script main.js

import React from 'react';
import ReactDOM from 'react-dom';
import createDevTools from './containers/DevTools';

ReactDOM.render(
    <div>
        <p>Стартовая страница</p>
        <createDevTools />
    </div>,
    document.getElementById('main')
);

then monitor constructor
import React from 'react';
import {createDevTools} from 'redux-devtools';
import LogMonitor from 'redux-devtools-log-monitor';
import DockMonitor from 'redux-devtools-dock-monitor';

export default createDevTools(
    <DockMonitor toggleVisibilityKey='ctrl-h'
                 changePositionKey='ctrl-q'>
        <LogMonitor theme='tomorrow' />
    </DockMonitor>
);

I call the server with the following parameters
"webpack-devserver": "webpack-dev-server --debug --hot --devtool eval-source-map --output-pathinfo --watch --colors --inline --content- base public --port 8090 --host 0.0.0.0"
as a result, only the Start page is written on the page, and the monitor itself is not displayed. What could be wrong?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question