Skip to main content

react-utils-refs-and-element-wiring

星标15
分支4
更新时间2026年4月10日 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.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly