Question · JavaScript and React course · Module 1: React Basics

First step in React debugging

What is the first step when debugging a React application?

Answer options

  • Identifying the problem based on error messages
  • Immediately using React DevTools Profiler
  • Reinstalling node_modules
  • Adding console.log to every component
Show the answer

Correct answer:

  • Identifying the problem based on error messages