返回 Skill 列表
extension
分类: 开发与工程无需 API Key

react-error-boundary-analytics

捕获并报告带有组件堆栈跟踪和用户上下文的运行时错误。

person作者: jakexiaohubgithub

React Error Boundary Analytics

Summary

Capture and report runtime errors with component stack traces and user context.

Key Capabilities

  • Catch render-phase errors.
  • Send reports to logging service.
  • Display fallback UI.

PhD-Level Challenges

  • Recover from errors gracefully.
  • Group similar errors.
  • Avoid infinite error loops.

Acceptance Criteria

  • Demonstrate catching a throw.
  • Show the report payload.
  • Reset the boundary successfully.