How to do it...

Let's debug our application:

  1. If you want to debug your React application, open your application with Google Chrome (http://localhost:3000/todo), open your Google Dev Tools (Right click > Inspect), select the React tab, and you will see your React components:
  1. You can select the component you want to debug, and one of the coolest things is that you can see the props of your component in the right side:
  1. If you want to debug Redux in your application and see which actions are being dispatched, you need to select the Redux tab ...

Get React Cookbook 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.