Advanced React Patterns

0•

Implements modern React component architectures including render props, imperative handles, Suspense error boundaries, and state management patterns.

Advanced React Patterns equips Claude with production-grade architectural patterns for complex TypeScript and React applications. It provides reference implementations and best practices for render props, higher-order components, forwardRef with imperative handles, dual controlled/uncontrolled inputs via custom hooks, Suspense and React 19 use() hooks, optimized context selectors, and React.Children manipulation utilities.

主な機能

010 GitHub stars
02Suspense with automated error boundary recovery and React 19 use() patterns
03Imperative handles with forwardRef and createPortal dialogs
04Children utility patterns using Children.map and cloneElement with typed props
05Controllable state hooks for hybrid controlled and uncontrolled components
06Context selector optimization to prevent unnecessary component re-renders

ユースケース

01Optimizing rendering performance across heavily nested React context providers
02Modernizing legacy React components with modern React 19 hooks and Suspense
03Architecting reusable and headless design system UI primitives