The Sentry React SDK exposes custom components for first class integration with the React framework.

  • Error Boundaries

    Use the Sentry Error Boundary component to automatically send JavaScript errors from inside a React component tree to Sentry

  • Profiler

    Use the Sentry Profiler component to generate React component spans that will get attached to the active transaction.

Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) to suggesting an update ("yeah, this would be better").