Sentry React SDK Setup

•
19
•

Automates the installation and configuration of Sentry's observability and error monitoring suite for React applications.

This skill acts as an intelligent wizard for integrating Sentry into React projects, supporting versions 16 through 19. It analyzes your project's specific architecture—including build tools like Vite or webpack and routers like TanStack or React Router—to provide a bespoke implementation path for error monitoring, performance tracing, and session replays. By automating the boilerplate for instrumentation and environment variable configuration, it ensures developers can capture production bugs and performance bottlenecks with minimal manual effort and high reliability.

主な機能

0119 GitHub stars
02Automated detection of React versions, routers, and build tools
03Seamless setup for Vite and Webpack source map uploads
04Tailored configuration for React 19+ error hooks and legacy Error Boundaries
05Configures advanced observability like Session Replay and Profiling
06Integrated support for React Router v5-v7 and TanStack Router

ユースケース

01Updating Sentry integrations after migrating to React 19 or a new router
02Setting up full-stack error monitoring for a new React SPA
03Fixing unreadable stack traces by automating source map uploads in Vite or CRA