Socket
Socket
Sign inDemoInstall

@nodegui/devtools

Package Overview
Dependencies
6
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @nodegui/devtools

A react nodegui devtools integrator


Version published
Maintainers
3
Created

Readme

Source

React NodeGui devtools

React NodeGui's devtools support module.

Installation

npm install --save-dev @nodegui/devtools

Pre-requisite

Install React devtools standalone version.

npm install -g react-devtools

Usage

  1. Launch devtools.
    react-devtools
  1. In your app code:
import { Renderer } from "@nodegui/react-nodegui";
import React from "react";
import App from "./app";

process.title = "My NodeGui App";

Renderer.render(<App />, {
  onInit: (reconciler: any) => {
    if (process.env.NODE_ENV === "development") {
      require("@nodegui/devtools").connectReactDevtools(reconciler);
    }
  }
});

FAQs

Last updated on 30 Dec 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc