CCodemod

react/19/replace-string-ref

No description available

reactmigration
Public
119,263 executions
Run locally
npx codemod react/19/replace-string-ref
Documentation

This codemod migrates string refs (deprecated) to callback refs.

Example

Before:

ts

After:

ts

Ready to contribute?

Build your own codemod and share it with the community.