diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-02-24 12:05:54 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2026-02-24 12:05:54 +0900 |
| commit | 64c88ef21ac3369e4e4fad179dfd641722a1f349 (patch) | |
| tree | 145c442d7bea65b7602271d5fa3265ff0a279afb /ar/.config/claude/commands/optimize-components.md | |
| parent | f3b515d8d9e8ed57d2c5302b53009ea9241e22f2 (diff) | |
updates
Diffstat (limited to 'ar/.config/claude/commands/optimize-components.md')
| -rw-r--r-- | ar/.config/claude/commands/optimize-components.md | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/ar/.config/claude/commands/optimize-components.md b/ar/.config/claude/commands/optimize-components.md deleted file mode 100644 index 5e35740..0000000 --- a/ar/.config/claude/commands/optimize-components.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -allowed-tools: Read, MultiEdit, Grep, Glob -description: Analyze and optimize React Server/Client Component boundaries ---- - -Analyze the current component structure and optimize the Server/Client Component boundaries: - -1. Find all components currently marked with 'use client' -2. Analyze if they truly need client-side interactivity -3. Identify components that can be converted to Server Components -4. Find Server Components that are passing non-serializable props -5. Suggest component composition patterns to minimize client JS -6. Identify opportunities for: - - Moving data fetching to Server Components - - Extracting interactive parts into smaller Client Components - - Using children pattern to compose Server and Client Components - -Provide a detailed report with: - -- Current client/server component ratio -- Components that can be optimized -- Specific refactoring suggestions -- Estimated bundle size reduction - -Focus on reducing the amount of JavaScript sent to the client while maintaining functionality. |
