React Syntax Refs

Use when accessing DOM elements, forwarding refs to child components, implementing imperative APIs, or managing mutable values across renders. Prevents the common mistake of using refs for values that should trigger re-renders. Covers useRef, forwardRef, useImperativeHandle, callback refs, React 19 ref cleanup, React 19 ref as prop. Keywords: useRef, forwardRef, useImperativeHandle, callback ref, DOM access, access DOM element, focus input, scroll to element, measure element, ref callback..

Impertio-Studio Updated 203 repo stars
24 Deterministic Skills for React

File contents

Impertio-Studio/React-Claude-Skill-Package commit 8f64a6681c

Frequently asked questions

npx get-skill add impertio-studio/react-syntax-refs