New advertisers: 50% off your first month with code FIRSTMONTHSee slots
erichowens avatar

Reactive Dashboard Performance

Expert guidance for React dashboard load speed and async test timeouts, with Linear-style loading patterns.

skills.sh installs
132
GitHub stars
274
last updated
Jun 3, 2026
View on GitHub

What it does

  • Covers skeleton-first loading, React Query caching (5min stale, 30min cache), code splitting, and memoization strategy
  • Includes a testing guide for async components: mocking at service boundaries, findBy* queries, and test provider wrappers
  • Provides a diagnostic protocol for integration test timeouts that starts with screen.debug() to inspect rendered DOM
  • Designed for React dashboards that pair with react-performance-optimizer, admin-dashboard, and data-viz-2025

Install

$ npx -y skills add erichowens/some_claude_skills --skill reactive-dashboard-performance -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Reactive Dashboard Performance

Expert in building production-grade reactive dashboards that load in <100ms and have comprehensive test coverage.

Core Expertise

Performance Patterns (Linear, Vercel, Notion-grade)

  1. Skeleton-First Loading

    • Render skeleton immediately (0ms perceived load)
    • Stream in data progressively
    • Never show spinners for <200ms loads
  2. Aggressive Caching

    • React Query with staleTime: 5min, cacheTime: 30min
    • Optimistic updates for mutations
    • Prefetch on hover/mount
  3. Code Splitting

    • Route-based splitting (Next.js automatic)
    • Component-level lazy() for heavy widgets
    • Preload critical paths
  4. Memoization Strategy

    • useMemo for expensive computations
    • React.memo for pure components
    • useCallback for stable references

Testing Reactive Dashboards

  1. Mock Strategy

    • Mock at service boundary (React Query, analytics)
    • Never mock UI components (test real DOM)
    • Use MSW for API mocking when possible
  2. Async Handling

    // WRONG - races with React
    render(<Dashboard />);
    const element = screen.getByText('Welcome');
    

Details

Repository
github.com/erichowens/some_claude_skills
Category
Debugging
First seen
Jun 3, 2026

More from erichowens/some_claude_skills

All 69

Similar to Reactive Dashboard Performance

More Debugging