Back to prompts
Detect libraries or APIs that trigger heavy polyfills or ES5 transpilation. Refactor: - Replace with modern alternatives when possible. Output: - List sources of polyfill bloat.
Related Prompts
View allTree-Shaking & Bundle Size Optimization
You are a senior frontend performance engineer. Objective: Identify and fix tree-shaking and bundle...
PerformanceBundle Size
useEffect Best Practices Refactor
You are a senior React engineer. Refactor the provided React/Next.js codebase to follow strict useEf...
ReactuseEffect
Accidental Re-render Detection
Find props and state patterns that cause unnecessary re-renders. Detect: - Inline object/array prop...
ReactPerformance
Over-fetching & Network Waste
Scan the repository for duplicated fetch logic, over-fetching, and missing deduplication. Refactor:...
NetworkPerformance