אופטימיזציה לסריקה מהירה (Performance Audit) | VibeScale Prompts
חזרה לכל הפרומפטים

אופטימיזציה לסריקה מהירה (Performance Audit)

מנתח קומפוננטת React ומוצא רינדורים מיותרים, תמונות לא מותאמות או חוסר ב-Dynamic Imports.

מודל: Claude 3.5 Sonnetקטגוריה: פיתוח
Analyze the provided React component for performance bottlenecks.

SCAN FOR:
1. Unnecessary re-renders (look for missing useMemo/useCallback or objects defined inside the render loop).
2. Large bundle sizes: Identify heavy imports that should be loaded via 'React.lazy'.
3. Image handling: Suggest 'next/image' or lazy-loading tags.
4. DOM complexity: Find deeply nested div structures that can be simplified.

Output a Markdown list of specific fixes followed by the optimized code.

מתי כדאי להשתמש?

ניקוי קוד AI שנכתב ב-Vibe Coding ועשוי להיות כבד או איטי.