GithubHelp home page GithubHelp logo

realize's Introduction

Realize

As applications scale, it becomes more difficult to track state and to have a holistic overview of the component hierarchy. Realize is a tool to help developers visualize the structure and state flow of their React applications, especially when they are growing in scale and complexity. It currently supports React v.16.8.

Installation:

  1. Clone the repo onto your computer
  2. Run npm i from inside the root directory
  3. Run npm build
  4. Load the extension from build/extension into Firefox via Load Temporary Addon (found by navigating to about:debugging#/runtime/this-firefox)
  5. Navigate to a website that uses React and open the Realize dev tools panel
  6. Trigger a state change to populate the component tree

Prerequisites

  • Realize requires React Dev Tools to be installed before use.
  • For optimal performance, Realize is best used with React applications launched from a local server in development mode. Minification reduces production websites component names`

Functionality:

  • Utilize the search bar to search for any component that exists in the tree. The search will bring you to the first top-most level component that matches.
  • Clicking a node component will display information about state, children, props, and hooks (if utilized).
  • Click on center to center tree
  • Click on state to view all the state that exists in the tree and where the state is being passed. State is indicated by a pulsing animation behind the node.

### To navigate the tree:

  • Shift + mouse scroll will zoom the tree in and out
  • Shift + left click will allow you to move the tree around in the panel

realize's People

Contributors

blackhaj avatar hmitrea avatar fan-shao avatar hpwclifford avatar dependabot[bot] avatar

Stargazers

 avatar

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.