Using React DevTools for debugging and analysis
React DevTools is a browser plugin that offers a variety of tools for testing your React application. It allows you to investigate the component hierarchy, view the React component tree, and verify the props and state of your components. We will dive into the various debugging techniques available to us and how using them will give us more confidence in the code that we write.
React DevTools can be seen in the following figure. It is available in the Chrome web store:

Figure 8.3: React DevTools
With that, we have learned about React DevTools. Next, we’ll learn how to configure CI/CD pipelines for our automated tests, another useful tool in our debugging toolkit.
How do we configure a CI/CD pipeline to automate tests?
To ensure that our tests run every time we make code changes, we can configure a continuous integration/continuous deployment (CI/CD) pipeline that runs tests automatically. This...