React
migration
byCodemod

React/Manual Bind To Arrow

/icons/badge-info.svg

Made for

React

/icons/calendar.svg

Last update

May 29, 2024

Converts manual function bindings in a class (e.g., this.f = this.f.bind(this)) to arrow property initializer functions (e.g., f = () => {}).

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now