Skip to main content

react-utils-refs-and-element-wiring

Stars15
Forks4
UpdatedApril 10, 2026 at 11:18

Merge refs with useForkRef, expose inner DOM nodes with setRef, and read refs from React elements with getReactElementRef. Load this when building wrapper components, accepting refs through component props, or handling React 19 ref differences safely.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly