Reactime

A Chrome extension that helps debug React applications by memorizing the state of components with every render.

什么是Reactime?

Reactime是由Reactime开发的Chrome扩展程序,该扩展的主要功能是“A Chrome extension that helps debug React applications by memorizing the state of components with every render.”。

扩展截图

screenshot
screenshot
screenshot
screenshot
screenshot

下载Reactime扩展crx文件

下载Reactime扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        Reactime was nominated for the Productivity Booster award at React Open Source Awards 2020.

Reactime is an open source Chrome developer tool for time travel debugging and performance monitoring in React applications. Reactime enables developers to record snapshots of application state, jump between and inspect state snapshots, and monitor performance metrics such as component render time and render frequency.

Features:

- Record Snapshots of Application State and Accessibility Tree
- Import and Export Snapshots of State
- Time-Travel Debugging
- Snapshot Series Comparison
- Component Tree Visualization
- React Router Compatibility
- Component Render Time & Frequency
- Support for Gatsby, Next.js and Remix
- TypeScript Support
- Ability to Reconnect
- Web Performance Metrics
- Tutorial Walkthrough


What’s New!

Reactime v24.0 introduces new accessibility tree information saved with each snapshot, allowing users to easily inspect the information that screen readers will receive. These snapshots can be viewed in the new "Accessibility" tab.

https://medium.com/@evaury/relaunching-reactime-updates-and-a-new-accessibility-feature-1f0fd3a5bd8c

Troubleshooting:

Why is Reactime telling me that no React application is found?
Reactime initially runs using the dev tools global hook from the Chrome API. It takes time for Chrome to load this. The current workaround is to navigate to your Chrome Extensions and refresh Reactime. Then, navigate back to your application, refresh the page, and then within the Reactime Dev Tool, right-click and hit "Reload Frame".

Why do I need to have React Dev Tools enabled?
Reactime works in tandem with the React Developer Tools to access a React application's Fiber tree; under the hood, Reactime traverses the Fiber tree through the React Developer Tool's global hook, pulling all relevant information needed to display to the developer

There is a black screen instead of the Reactime extension
Try refreshing the application you want to test and refresh the DevTools by clicking the right mouse button “Reload frame”.

I found a bug in Reactime
Reactime is an open source project, and we'd love to hear from you about improving the user experience. Please read the DEVELOPER README in GitHub and create a pull request (or issue) to propose and collaborate on changes to Reactime.

By default this only our app only injects content scripts into localhost.
 If you would like it to run on more websites please go to https://github.com/open-source-labs/reactime. Fork and clone the repository and change
"matches": ["http://localhost/*"] to "matches": [""] in the manifest.json src\extension\build\manifest.json                    

扩展基本信息

名称 Reactime Reactime
ID cgibknllccemdnfhfpmjhffpjfeidjga
官方URL https://chromewebstore.google.com/detail/reactime/cgibknllccemdnfhfpmjhffpjfeidjga
简介 A Chrome extension that helps debug React applications by memorizing the state of components with every render.
文件大小 802 KB
安装次数 4,608
当前版本 24.0.0
更新时间 2024-03-02
上架时间 2020-03-08
评分 4.72/5 共32次评分
开发者 Reactime
电子邮箱 [email protected]
付费类型 free
扩展官网 https://www.reacti.me/
帮助页面URL https://github.com/open-source-labs/reactime/issues
支持的语言 en-US
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Reactime",
    "version": "24.0.0",
    "devtools_page": "devtools.html",
    "description": "A Chrome extension that helps debug React applications by memorizing the state of components with every render.",
    "manifest_version": 3,
    "background": {
        "service_worker": "bundles\/background.bundle.js"
    },
    "icons": {
        "48": "assets\/whiteBlackSquareIcon48.png",
        "128": "assets\/whiteBlackSquareIcon128.png"
    },
    "content_scripts": [
        {
            "matches": [
                "http:\/\/localhost\/*"
            ],
            "js": [
                "bundles\/content.bundle.js"
            ]
        }
    ],
    "web_accessible_resources": [
        {
            "resources": [
                "bundles\/backend.bundle.js"
            ],
            "matches": [
                ""
            ]
        }
    ],
    "permissions": [
        "contextMenus",
        "tabs",
        "activeTab",
        "scripting",
        "system.display",
        "debugger"
    ],
    "host_permissions": [
        ""
    ]
}