Problems with react integrating redux dev tolols in Code

import React from "react";
import ReactDOM from "react-dom";
import "./index.css";
import {createStore,applyMiddleware,compose} from "redux"
import thunk from "redux-thunk"//
import App from "./App";
//import{counter} from "./redux"
import * as rdx from "./redux"

import registerServiceWorker from "./registerServiceWorker";
const reduxDevTool=window.devToolsExtension?window.devToolsExtension():f=>f;
const store=createStore(
    rdx.counter,
    compose(
        applyMiddleware(thunk),
        reduxDevTool
        )
);


redux 
redux dev tool chrome




chrome

Mar.24,2021

not only install the redux chrome plug-in, but also need redux-devtools-extension

.

install

npm install --save-dev redux-devtools-extension

refer to my configuration below:

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import registerServiceWorker from './registerServiceWorker';
import { createStore, applyMiddleware } from 'redux';
import logger from 'redux-logger';
import thunk from 'redux-thunk';
import promise from 'redux-promise-middleware';
import { composeWithDevTools } from 'redux-devtools-extension';
import reducer from "./reducers";
import { Provider } from 'react-redux';

const error = store => next => action => {
  try {
    next(action)
  } catch (e) {
    console.log('error', e)
  }
}


const store = createStore(reducer, {}, composeWithDevTools(applyMiddleware(logger, error ,thunk, promise())));

ReactDOM.render(
  <Provider store={store}>
    <App store={store} />
  </Provider>, document.getElementById('root'));

registerServiceWorker();
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b37ace-2b8fc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b37ace-2b8fc.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?