1 Repo
Utilities for converting deprecated string-based references into stable callback refs.
Distinct from Ref Forwarding: Specifically handles the migration from string refs to callback refs, not just general ref forwarding.
Explore 1 awesome GitHub repository matching user interface & experience · Ref Migration Tools. Refine with filters or upvote what's useful.
This project is a suite of abstract syntax tree transformation tools designed to automate the migration of source code to newer versions of React. It provides a set of scripts that programmatically modify code structures to replace deprecated APIs and component patterns with modern equivalents. The toolkit specializes in converting class components into functional components using arrow functions and prop destructuring. It also includes utilities for modernizing JSX syntax, updating deprecated lifecycle methods to stable versions, and migrating legacy string-based references to callback refs.
Replaces deprecated string-based references with callback refs to ensure stable element referencing.