Replace string refs in your React components.
Guides migration of React class components from string refs to createRef objects, including dynamic lists and child components.
When to use it
Use before writing string-ref migration code, including migrations for React 18.3.1 and React 19.
It changes how the agent migrates React string refs by pairing JSX ref replacements with updates to their accessors.
What you provide
The guide applies to React class components and uses the library's createRef API.
No additional actions listed.