CCodemod

react/19/replace-string-ref

No description available

reactmigration
Public
127,348 executions

Run locally

npx codemod react/19/replace-string-ref

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.