Ccodemod-com-bot

react-manual-bind-to-arrow

Convert this.method = this.method.bind(this) to arrow class property

React
Public
3 executions

Run locally

npx codemod react-manual-bind-to-arrow

react-manual-bind-to-arrow

Convert constructor-time .bind(this) assignments into arrow class fields.

Usage

bash

Ready to contribute?

Build your own codemod and share it with the community.