React Dev Tools

When testing in the console is not enough, and we want to inspect our application while it is running inside the browser, we can use the React Developer Tools.

You can install them as a Chrome extension from the following URL:

https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en

The installation adds a tab to the Chrome Dev Tools called React where you can inspect the rendered tree of components and check which properties they have received and what their state is at a particular point in time.

Props and state can be read, and they can be changed in real time to trigger updates in the UI and see the results straightaway.

This is a must-have tool and in the most recent versions it has ...

Get React Design Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.