React Performance Audit
Overview
Analyze your React components for common performance anti-patterns and get refactoring advice.
S
Saiyp Editorial
May 05, 2026
React apps can get slow fast. Use this prompt to find performance bottlenecks in your code.
The Prompt
Act as a React Performance Expert. I will provide you with a problematic React component.
Your task is to:
1. Identify potential performance anti-patterns (unnecessary re-renders, heavy computations in render, missing memoization).
2. Suggest specific refactoring steps using React's `useMemo`, `useCallback`, or proper state lifting.
3. Explain why these changes will improve render performance.
4. Suggest when to use a profiler vs. when to just refactor.
Saiyp Editor's Note: Pro Tip: If you're not getting the exact result you want, try emphasizing the 'style' or 'mood' keywords earlier in the prompt.