7. Debugging React apps #

Created Wednesday 16 February 2022

Doing this now.

3. Kinds of errors in React #

  1. npm start does detect and show compilation errors in React projects. This is quite useful.
  2. Warnings and prop errors are not compilation errors, so they are shown in the console tab in devTool.
  3. Then there are logic errors like using bad key attribute for a list of components, which can make the order wrong.

4. Working with the debugger in DevTools #

5. Using the React devTool #

This a browser extension called React Developer Tools. They are available in both Chrome and Firefox, although Chrome is recommended.