TokenToSeaSkill 广场
English 控制台

React18 String Refs

GitHub官方

Provides exact migration patterns for React string refs (ref="name" + this.refs.name) to React.createRef() in class components. Use this skill whenever migrating string ref usage - including single element refs, multiple refs in a component, refs in lists, callback refs, and refs passed to child components.

安装

npx skills add github/awesome-copilot --skill react18-string-refs