react-spa-performance
CommunityMaximize Vite React SPA speed and load times
Software Engineering#performance#react#vite#virtualization#tanstack-query#code-splitting#bundle-analysis
Authorcarrotwaxr
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This guide eliminates common performance regressions and slow user experiences in React 19 + Vite 7 single-page applications by providing prescriptive optimizations across build, runtime, and media handling.
Core Features & Use Cases
- Build Optimization: Manual chunking, optimizeDeps, target configuration, and minifier choices to reduce initial bundle size.
- Code Splitting & Lazy Loading: Route-level splitting, dynamic imports, and preload strategies to defer heavy libraries like video.js and charting libs.
- Render Efficiency: Re-render prevention patterns, memoization guidance with React Compiler, state placement, and context splitting to minimize unnecessary updates.
- Data & Media: TanStack Query tuning, prefetch strategies, virtualization for long lists, and best practices for responsive images and video initialization.
- Bundle Analysis & Dev Workflow: Tools and CI checks to monitor asset size regressions and maintain fast HMR and developer feedback loops.
- Use Case: Audit a Vite React SPA (for example the client/ directory of peek-stash-browser) to produce prioritized fixes that improve cold-load time, runtime responsiveness, and media playback performance.
Quick Start
Analyze the client/ Vite React 19 project and produce prioritized, actionable optimizations for build config, code splitting, re-render hotspots, TanStack Query settings, and media loading.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: react-spa-performance Download link: https://github.com/carrotwaxr/peek-stash-browser/archive/main.zip#react-spa-performance Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.