Thanks to visit codestin.com
Credit goes to officialskills.sh

Back to skills

sentry-react-sdk

Full Sentry SDK setup for React — React Router v5-v7, TanStack Router, Redux, Vite, and webpack.

Setup & Installation

npx skills add https://github.com/getsentry/sentry-for-ai --skill sentry-react-sdk
or paste the link and ask your coding assistant to install it
https://github.com/getsentry/sentry-for-ai/tree/main/skills/sentry-react-sdk
View on GitHub

What This Skill Does

Full Sentry SDK setup for React. Use when asked to add Sentry to React, install @sentry/react, or configure error monitoring, tracing, session replay, profiling, or logging for React applications. Supports React 16+, React Router v5-v7, TanStack Router, Redux, Vite, and webpack.

Covers the router and bundler combinations teams actually use so tracing and replay hook into the right parts of the app.

When to use it

  • Adding @sentry/react to a Vite-based app
  • Instrumenting React Router v7 navigation with tracing
  • Wiring TanStack Router into Sentry performance monitoring
  • Enabling session replay on a Redux-powered SPA
  • Standardizing Sentry config across webpack React builds