@nodegui/devtools

    1.0.1 • Public • Published

    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);
        }
      }
    });

    Keywords

    none

    Install

    npm i @nodegui/devtools

    DownloadsWeekly Downloads

    3

    Version

    1.0.1

    License

    ISC

    Unpacked Size

    1.76 kB

    Total Files

    3

    Last publish

    Collaborators

    • shirakaba
    • atulanand94
    • rahulgaba
    • kakulgupta
    • shubhamzanwar