This is an example integration of Sentry with React.
- Clone the project
cd
into the project directory and runnpm install
- Replace the DSN in this project with your own Sentry DSN (sign up at http://sentry.io if you don't have an account and DSN). If you're unsure what a DSN is, or where to find it, here's some info
- From the project directory, run
npm start
- On the page that loads, click the button to trigger an error.
After triggering an error, navigate to Sentry's 'Issues' page (link in left-hand column) to see reported errors:
After loading the page, navigate to Sentry's 'Performance' (link in left-hand column) to see page load performance: