Detect, diagnose and destroy React errors that are affecting your customers. With smart React error monitoring software from Raygun, you can be alerted to issues affecting your users, the second they happen.
Add this snippet to your markup, before the closing </head> tag:
To catch all exceptions, add the following lines of JS code just before the closing body tag in your site or app.
To set up the library to transmit data for the currently logged-in user, add the following lines of JS code inside the end of the script block from the previous step. (optional, but highly recommended):
Raygun will start monitoring your application for React errors that are present in your application. Errors are grouped by their root cause and smart notifications alert you to the things that need attention.
Start fixing the React errors and improve your app quality!
Raygun gives you full stacktraces for each and every error occurrence, along with environment information, HTTP requests, raw data, browser, OS, affected users and more. All the details you need to rectify issues quickly and efficiently. Raygun stores every single error event (no data sampling) so you’ll always have the right information at hand when needing to see when, why and how an error occurred.