Find element.ref access

Proprietary

Finds direct access of element.ref on React elements. In React 19, element.ref is deprecated; use element.props.ref instead.

org.openrewrite.react.19.find-element-ref
mod run . --recipe=org.openrewrite.react.19.find-element-ref

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.