Home > Web Front-end > JS Tutorial > body text

What are React Developer Tools?

青灯夜游
Release: 2021-01-08 16:51:16
Original
5987 people have browsed it

React Developer Tools is a Chrome browser extension developed by facebook; through it, you can get a new tab called React in the chrome developer tools, check the React component hierarchy, and display it on the page React components.

What are React Developer Tools?this

The operating environment of this article: windows7 system, Dell G3 computer, react17.0.1&&chrome87.0 version.

React Developer Tools is a useful Chrome browser extension developed by facebook and available through the Chrome Web Store. You can get a new tab called React in the chrome developer tools, inspect the React component hierarchy, and display the React components on the page.

When debugging with Chrome Devtools, you can view your application's React component hierarchy instead of the more arcane browser DOM representation.

Add react developer tools to chrome, which is a React debugging tool for chrome development tools. React Development Tools is the open source Chrome DevTools extension of the React JavaScript library. It allows you to inspect the React component hierarchy in Chrome Developer Tools (formerly known as WebKit Web Inspector). You will get the new tab request react in your Chrome DevTools. This indicates that your root react components are rendering in the page, as well as their final rendering components.

Note: This plug-in is only valid for ReactJS development. If it is React Native, you cannot use this plug-in to debug.

Installation steps

1. Click Chrome's "Menu"->"More Tools"->"Extensions".

What are React Developer Tools?

2. In the "Extensions" page that opens, click "Get More Extensions" at the bottom to open the Google Online Store.

What are React Developer Tools?

#3. Finally, search for "React Developer Tools" and install it. Of course, this site provides its download address, so you can download and install it offline.

What are React Developer Tools?

#4. After the installation is complete, open the extension management page. Check "Allow access to file URLs" in React Developer Tools.

What are React Developer Tools?

#After the above 4 steps, we have installed React Developer Tools.

For more programming-related knowledge, please visit: Programming Video Course! !

The above is the detailed content of What are React Developer Tools?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template