Code Monkey home page Code Monkey logo

vscode-redux-devtools's Introduction

Redux DevTools for VSCode

Visual Studio Code extension to integrate Redux Devtools into editor.

Features

Inspect redux store of your app. Like the one you may use in Chrome.

Feature

Quick Start

  • Install the extension

  • CMD + Shift + P to open Command Palette and type in Redux Devtools, select command Open Devtool to the Side.

  • In devtool pannel, click settings to set listening port and host to your remotedev server.

  • Optional, if you don't have an remotedev server running, you need to start one. (Find documentation here or see our example)

  • Additionally, you also need to compose remote redux devtool middleware into your redux store:

    import { createStore, applyMiddleware } from 'redux'
    import { composeWithDevTools } from 'remote-redux-devtools'
    
    const composeEnhancers = composeWithDevTools({
      realtime: true,
      name: 'Your Instance Name',
      hostname: 'localhost',
      port: 1024 // the port your remotedev server is running at
    })
    
    const store = createStore(
      yourReducer,
      composeEnhancers(
        applyMiddleware(/* put your middlewares here */)
      )
    )

    โ€‹

Extension Settings

Redux Devtools contributes the following settings:

Note that these settings are used when launching the devtool. You can also set those configurations manually by click settings in the top of the devtool. (after it is launched)

  • reduxdev.hostname: The hostname your remotedev server started on.
  • reduxdev.port: The socket port for Redux Devtools to listen.

Known Issues

  • redux-devtools-core can not persist settings inside vscode webview

License

MIT

powered by redux-devtools.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.