Logging to elmah.io from React
To log all errors from a React application, install the
When launching your React app, elmah.io is configured and all errors happening in the application are logged.
React have a known bug/feature in DEV mode where errors are submitted twice. For better error handling in React, you should look into Error Boundaries.
This article was brought to you by the elmah.io team. elmah.io is the best error management system for .NET web applications. We monitor your website, alert you when errors start happening, and help you fix errors fast.