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
官方URL 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"
        }
    ]
}