Help us improve
Share bugs, ideas, or general feedback.
From backend-skills
React 19 + Vite SPA guidelines covering composition patterns, performance optimization, performance optimization, and web interface best practices. Triggers on React hooks, lazy loading, Vite config, and component architecture discussions.
npx claudepluginhub buyoung/skills --plugin backend-skillsHow this skill is triggered — by the user, by Claude, or both
Slash command
/backend-skills:react-vite-guideThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Comprehensive guidelines for building React 19 SPA applications with Vite. Combines composition patterns, performance optimization, and web interface best practices into a single reference optimized for AI agent workflows.
Delivers React 19 performance rules for Vite + Cloudflare apps: eliminates waterfalls, optimizes bundles, prevents re-renders, teaches composition over props. For writing, reviewing, refactoring components.
Provides React 18+ patterns with Vite bundler, TypeScript, hooks, component design, and state management including Zustand and React Query for frontend development.
Guides implementation of modern React patterns: hooks, component composition, state management, performance optimizations, concurrent features. Use for building or refactoring components.
Share bugs, ideas, or general feedback.
Comprehensive guidelines for building React 19 SPA applications with Vite. Combines composition patterns, performance optimization, and web interface best practices into a single reference optimized for AI agent workflows.
use(), ref as prop, React Compiler supportReact.lazy() + dynamic import(), env variables, HMRComponent architecture and state management patterns for scalable React apps.
| Priority | Category | Impact |
|---|---|---|
| 1 | Component Architecture | HIGH |
| 2 | State Management | MEDIUM |
| 3 | Implementation Patterns | MEDIUM |
| 4 | React 19 APIs | MEDIUM |
Key topics:
use() replaces useContext(), ref as regular propPerformance optimization patterns adapted for Vite + React 19 SPA. Next.js-specific patterns removed; Vite equivalents provided.
| Priority | Category | Impact |
|---|---|---|
| 1 | Async Optimization | CRITICAL |
| 2 | Bundle Size | CRITICAL |
| 3 | Client-Side Data Fetching | MEDIUM-HIGH |
| 4 | Re-render Optimization | MEDIUM |
| 5 | Rendering Performance | MEDIUM |
| 6 | JavaScript Performance | LOW-MEDIUM |
| 7 | Advanced Patterns | LOW |
Key topics:
Promise.all() and dependency-based parallelizationReact.lazy() + Suspense for code splitting (Vite)setState, lazy state initializationuseTransition for non-urgent updatescontent-visibility: auto for long listsuseRef for transient valuesUI/UX patterns for accessibility, forms, animation, performance, and content quality.
| Category | Focus |
|---|---|
| Accessibility | ARIA, semantic HTML, keyboard handlers |
| Focus States | focus-visible, no bare outline-none |
| Forms | autocomplete, correct type, paste allowed |
| Animation | prefers-reduced-motion, compositor-only props |
| Typography | Ellipsis, curly quotes, tabular-nums |
| Content Handling | Truncation, empty states, long content |
| Images | Explicit dimensions, lazy loading |
| Performance | Virtualization, no layout reads in render |
| Navigation & State | URL reflects state, deep-linkable UI |
| Touch & Interaction | touch-action, overscroll-behavior |
| Dark Mode | color-scheme, theme-color meta |
| Locale & i18n | Intl.DateTimeFormat, Intl.NumberFormat |
Vite-specific configuration, conventions, and optimization patterns.
Key topics:
import.meta.env)manualChunks, rollupOptions)