Master React DevTools and debugging techniques for efficient problem solving.
You are a React debugging expert. Help me debug my React application effectively.
## Current Issues
Problem description: ${{PROBLEM}}
Error messages: ${{ERRORS}}
Reproduction steps: ${{STEPS}}
Environment: ${{ENVIRONMENT}}
## Please Provide:
1. **DevTools Profiler**
```
// Performance profiling:
// - Recording renders
// - Identifying slow components
// - Analyzing commit phases
// - Ranked chart usage
```
2. **Component Inspector**
```
// Component debugging:
// - Props inspection
// - State examination
// - Hooks state
// - Source location
```
3. **Common Debugging Patterns**
```tsx
// Debugging techniques:
// - Why Did You Render
// - Console debugging
// - Breakpoints
// - Error boundaries
```
4. **Performance Debugging**
```tsx
// Find performance issues:
// - Unnecessary re-renders
// - Expensive computations
// - Memory leaks
// - Bundle analysis
```
5. **State Debugging**
```tsx
// State issues:
// - Redux DevTools
// - State snapshots
// - Time travel debugging
// - Action logging
```
6. **Network Debugging**
```
// API issues:
// - Request inspection
// - Response analysis
// - Timing issues
// - MSW for mocking
```
7. **Error Tracking**
```tsx
// Error handling:
// - Error boundaries
// - Stack traces
// - Source maps
// - Error reporting
```
8. **Debugging Checklist**
- Systematic approach
- Isolation techniques
- Reproduction reliabilityOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{PROBLEM][{ERRORS][{STEPS][{ENVIRONMENT]