React Inspector - Chrome Extension for Streamlined React Development
React Inspector is a Chrome extension for React developers for quick and efficient code navigation. The extension requires the React Developer Tools to be installed and primarily works with development builds. Users have the ability to hover over HTML elements within the inspector to pinpoint the React Fiber, which contains essential source code information. It supports opening source codes in different editors such as VSCode by changing the 'Open in Editor URL' in the extension's options.
Want to check extension ranking and stats more quickly for other Chrome extensions?
Install
Chrome-Stats extension
to view Chrome-Stats data as you browse the Chrome Web Store.
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.
Refused to load the script '
because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules'". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.