React Developer Tools

Adds React debugging tools to the Chrome Developer Tools. Created from revision 993c4d003 on 12/5/2023.

什麼是React Developer Tools?

React Developer Tools是由Meta開發的Chrome擴展程式,該擴展的主要功能是“Adds React debugging tools to the Chrome Developer Tools. Created from revision 993c4d003 on 12/5/2023.”。

擴展截圖

screenshot

下載React Developer Tools擴展crx文件

下載React Developer Tools擴展crx格式的文件,手動將Chrome擴充功能安裝到瀏覽器中,也可以將crx文件分享給朋友,輕鬆安裝Chrome擴充功能。

擴展使用說明

                        React Developer Tools is a Chrome DevTools extension for the open-source React JavaScript library. It allows you to inspect the React component hierarchies in the Chrome Developer Tools.

You will get two new tabs in your Chrome DevTools: "⚛️ Components" and "⚛️ Profiler".

The Components tab shows you the root React components that were rendered on the page, as well as the subcomponents that they ended up rendering.

By selecting one of the components in the tree, you can inspect and edit its current props and state in the panel on the right. In the breadcrumbs you can inspect the selected component, the component that created it, the component that created that one, and so on.

If you inspect a React element on the page using the regular Elements tab, then switch over to the React tab, that element will be automatically selected in the React tree.

The Profiler tab allows you to record performance information.

This extension requires permissions to access the page's React tree, but it does not transmit any data remotely. It is fully open source, and you can find its source code at https://github.com/facebook/react/tree/master/packages/react-devtools-extensions.                    

擴展基本資訊

名稱 React Developer Tools React Developer Tools
ID fmkadmapgofadopljbjfkapdkoienihi
官方網址 https://chromewebstore.google.com/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi
簡介 Adds React debugging tools to the Chrome Developer Tools. Created from revision 993c4d003 on 12/5/2023.
檔案大小 1.48 MB
安裝次數 4,653,877
目前版本 5.0.0 (12/5/2023)
更新時間 2023-12-06
上架時間 2020-05-18
評分 4.01/5 共 1489 次評分
開發者 Meta
電子郵箱 [email protected]
付費類型 free
擴展官網 https://github.com/facebook/react
說明頁面URL https://github.com/facebook/react/issues/new?labels=Component:%20Developer%20Tools
支援的語言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "manifest_version": 3,
    "name": "React Developer Tools",
    "description": "Adds React debugging tools to the Chrome Developer Tools.\n\nCreated from revision 993c4d003 on 12\/5\/2023.",
    "version": "5.0.0",
    "version_name": "5.0.0 (12\/5\/2023)",
    "minimum_chrome_version": "102",
    "icons": {
        "16": "icons\/16-production.png",
        "32": "icons\/32-production.png",
        "48": "icons\/48-production.png",
        "128": "icons\/128-production.png"
    },
    "action": {
        "default_icon": {
            "16": "icons\/16-disabled.png",
            "32": "icons\/32-disabled.png",
            "48": "icons\/48-disabled.png",
            "128": "icons\/128-disabled.png"
        },
        "default_popup": "popups\/disabled.html"
    },
    "devtools_page": "main.html",
    "content_security_policy": {
        "extension_pages": "script-src 'self'; object-src 'self'"
    },
    "web_accessible_resources": [
        {
            "resources": [
                "main.html",
                "panel.html",
                "build\/*.js"
            ],
            "matches": [
                ""
            ],
            "extension_ids": []
        }
    ],
    "background": {
        "service_worker": "build\/background.js"
    },
    "permissions": [
        "storage",
        "scripting"
    ],
    "host_permissions": [
        ""
    ],
    "content_scripts": [
        {
            "matches": [
                ""
            ],
            "js": [
                "build\/prepareInjection.js"
            ],
            "run_at": "document_start"
        }
    ]
}