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.

What is React Inspector?

React Inspector is a Chrome extension developed by hand-dot, and its main feature is "The Inspector launch with Ctrl+Shift+X (Command+Shift+X on Mac). You can detect and open the React component source code easily.".

Extension Screenshots

screenshot

Download React Inspector Extension CRX File

Download React Inspector extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        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!                    

Extension Basic Information

Name React Inspector React Inspector
ID gkkcgbepkkhfnnjolcaggogkjodmlpkh
Official URL https://chromewebstore.google.com/detail/react-inspector/gkkcgbepkkhfnnjolcaggogkjodmlpkh
Description The Inspector launch with Ctrl+Shift+X (Command+Shift+X on Mac). You can detect and open the React component source code easily.
File Size 26.91 KB
Installation Count 4,207
Current Version 1.2.3
Last Updated 2023-04-16
Publish Date 2022-09-03
Rating 3.00/5 Total 5 Ratings
Developer hand-dot
Email [email protected]
Payment Type free
Extension Website https://github.com/hand-dot/react-inspector
Help Page URL https://github.com/hand-dot/react-inspector
Supported Languages 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
        }
    ]
}