React Inspector

The Inspector launch with Ctrl+Shift+X (Command+Shift+X on Mac). You can detect and open the React component source code easily.

Hvad er React Inspector?

React Inspector er en Chrome-udvidelse udviklet af hand-dot, og dens hovedfunktion er "The Inspector launch with Ctrl+Shift+X (Command+Shift+X on Mac). You can detect and open the React component source code easily.".

Udvidelsesskærmbilleder

screenshot

Download React Inspector-udvidelses-CRX-fil

Download React Inspector-udvidelsesfiler i crx-format, installer Chrome-udvidelser manuelt i browseren eller del crx-filer med venner for nemt at installere Chrome-udvidelser.

Brugsanvisning til Udvidelsen

                        Easily detect React components source code from Chrome!

■Requirements
・Installed React Developer Tools
・Works only with development builds.
・Source code must be stored on local disk

■How it works
The React Inspector accesses the __REACT_DEVTOOLS_GLOBAL_HOOK__ set globally by the React Devtools and finds the React Fiber in the HTML element that the inspector hovered over. The React Fiber contains information about the source code that will be added during development, so we use that information to open the editor.

Detail: https://dev.to/handdot/published-chrome-extension-for-streamlined-react-development-23b

■Options
It is possible to change the 'Open in Editor URL' from the extension's options page so that you can open it in an editor other than VSCode.

■Source Code
This extension is Open source. so you can access from https://github.com/hand-dot/react-inspector.
If you find a bug, please report it via Github!                    

Grundlæggende oplysninger om udvidelsen

Navn React Inspector React Inspector
ID gkkcgbepkkhfnnjolcaggogkjodmlpkh
Officiel URL https://chromewebstore.google.com/detail/react-inspector/gkkcgbepkkhfnnjolcaggogkjodmlpkh
Beskrivelse The Inspector launch with Ctrl+Shift+X (Command+Shift+X on Mac). You can detect and open the React component source code easily.
Filstørrelse 26.91 KB
Antal Installationer 4,207
Nuværende Version 1.2.3
Senest Opdateret 2023-04-16
Udgivelsesdato 2022-09-03
Bedømmelse 3.00/5 Samlet 5 Bedømmelser
Udvikler hand-dot
E-mail [email protected]
Betalingsmetode free
Udvidelseswebsted https://github.com/hand-dot/react-inspector
Hjælpeside-URL https://github.com/hand-dot/react-inspector
Understøttede Sprog en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 3,
    "name": "React Inspector",
    "description": "The Inspector launch with Ctrl+Shift+X (Command+Shift+X on Mac). You can detect and open the React component source code easily.",
    "icons": {
        "16": "icon\/icon16.png",
        "48": "icon\/icon48.png",
        "128": "icon\/icon128.png"
    },
    "action": {
        "default_title": "React Inspector: Press Ctrl+Shift+X (Command+Shift+X on Mac)"
    },
    "version": "1.2.3",
    "content_scripts": [
        {
            "js": [
                "assets\/content-script-loader.content.ts.aa66660e.526aa3f4.js"
            ],
            "matches": [
                ""
            ]
        }
    ],
    "devtools_page": "src\/devtools.html",
    "options_page": "src\/options.html",
    "background": {
        "service_worker": "service-worker-loader.js",
        "type": "module"
    },
    "commands": {
        "inspect": {
            "suggested_key": {
                "default": "Ctrl+Shift+X",
                "mac": "Command+Shift+X"
            },
            "description": "Inspect the page using the \"React Inspector\" extension."
        }
    },
    "permissions": [
        "activeTab",
        "contextMenus",
        "storage"
    ],
    "web_accessible_resources": [
        {
            "matches": [
                ""
            ],
            "resources": [
                "assets\/constants.918f8f6b.js",
                "assets\/content-main-world.8c44456d.js",
                "assets\/content.ts.aa66660e.js"
            ],
            "use_dynamic_url": true
        }
    ]
}