React Inspector

#3.57 / 7 rate

React Inspector

5,000 users

2022-09-03

hand-dot

Extension Information

5 star
17%
4 star
0%
3 star
17%
2 star
0%
1 star
67%

Supported Languages

Permissions

Description

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

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!

Reviews

Tim Osborn
Tim Osborn

Not working for me with vite react-ts running in dev, with `build.sourcemap: true` & VS Code

Andrey Bazhanov
Andrey Bazhanov

It's saving lot of time for me. In my codebase "This element cannot be opened in React Inspector." barelly not showing and most components opens correctly.

David Cornell
David Cornell

"This element cannot be opened in React Inspector.".

Similar extensions

click-to-react-component
click-to-react-component

zxf4399

Extract to React
Extract to React

Jess Telford

React Context DevTool
React Context DevTool

Deep Patel

React Hook Form Developer Tools
React Hook Form Developer Tools

bluebill1049

React Monitor
React Monitor

reactmonitorfiber

React Fetch Tree
React Fetch Tree

reactfetchtree

HTML To React
HTML To React

Vijay Deepak

HTML to React
HTML to React

https://htmltoreact.app

React VT
React VT

react-vt

C-React
C-React

C-React

Realize for React
Realize for React

Realize for React

React code finder
React code finder

unqocn