

React errors can be grouped into one of the following four categories: While some React bugs throw error messages so that you know what has gone wrong, there are also silent errors that you can only identify with debugging and monitoring. Some React debugging tools we’ll discuss later in this guide (Visual Studio Code and Raygun) also allow you to debug React applications rendered on the server side. You can treat these SSR React apps as Node.js applications and use Node.js debugging tools and best practices to resolve the arising issues. Server-side rendering (SSR) is a popular web performance optimization technique that many React applications take advantage of. However, not all React apps are rendered in the browser.

When it comes to debugging applications created with these libraries, you can treat them as regular client-side React applications and use the same debugging tools and techniques (see a guide to debugging React Native apps here). Some examples are MUI (Material UI), React Bootstrap, and Fluent UI for web-based user interfaces, Gatsby and Docusaurus for static site generation (SSG), and React Native for native app development. In addition to the core React framework, there are also many React-based client-side libraries you may need to debug. As React is a JavaScript library, React debugging is a type of JavaScript debugging, and you can use many of the same techniques and tools that you’d use for debugging regular JavaScript code. React debugging is the process of finding and resolving errors in a React application.

