The Inspector launch with Ctrl+Shift+X (Command+Shift+X on Mac). You can detect and open the React component source code easily.

Latest Version

Version
1.2.3
Update
April 16, 2023
Size
26.91KiB
Developer
Category
Users
6,000+
Rating
3.75 ★
Manifest Version
3
Web Store Status
Languages Support
English
See more
Permissions
ActiveTab
ContextMenus
Storage
See more

React Inspector Extension

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!
Read more

Source 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 } ]}
Read more

Similar Extensions

icon

click-to-react-component Extension · Developer Tools 6,000+ 5 ★ 79.5KiB

icon

Extract to React Extension · Developer Tools 6,000+ 7 ★ 489KiB

icon

React Context DevTool Extension · Developer Tools 6,000+ 21 ★ 2.35MiB

icon

React Hook Form Developer Tools Extension · Developer Tools 6,000+ 7 ★ 117KiB

icon

React Monitor Extension · Productivity 6,000+ 0 ★ 1.3MiB

icon

Redux DevTools Extension · Developer Tools 6,000+ 726 ★ 1.2MiB

icon

HTML to React Extension · Developer Tools 6,000+ 4 ★ 342KiB

icon

React VT Extension · Developer Tools 6,000+ 2 ★ 1.51MiB

icon

C-React Extension · Developer Tools 6,000+ 4 ★ 701KiB

icon

Realize for React Extension · Developer Tools 6,000+ 7 ★ 160KiB

icon

React code finder Extension · Developer Tools 6,000+ 5 ★ 2.95MiB

icon

LocatorJS Extension · Developer Tools 6,000+ 64 ★ 190KiB

icon

React Performance Devtool Extension · Developer Tools 6,000+ 11 ★ 170KiB

icon

Reactime Extension · Developer Tools 6,000+ 33 ★ 803KiB

icon

Jinno: code any React component with AI Extension · Developer Tools 6,000+ 38 ★ 18.37MiB

icon

React Stores Devtools Extension Extension · Developer Tools 6,000+ 0 ★ 716KiB

icon

Next.js Explorer - NextJS App & Pages Router Extension · Developer Tools 6,000+ 4 ★ 160KiB

icon

Apollo Client Devtools Extension · Developer Tools 6,000+ 266 ★ 490KiB

icon

Next DevTools Extension · Developer Tools 6,000+ 7 ★ 67.98KiB

icon

GraphQL Network Inspector Extension · Developer Tools 6,000+ 123 ★ 8.34MiB

icon

Gimli Tailwind Extension · Developer Tools 6,000+ 33 ★ 151KiB

icon

Tailwind CSS Devtools Extension · Developer Tools 6,000+ 7 ★ 857KiB

icon

React Developer Tools Extension · Developer Tools 6,000+ 1576 ★ 1.56MiB

icon

Recoilize Extension · Developer Tools 6,000+ 10 ★ 11.42MiB