Function Bind Codemod
Introduction
This codemod removes the dependency on the function-bind
module by eliminating its import statement from the codebase. This change enhances performance by reducing unnecessary dependencies.
Before
import functionBind from 'function-bind';const boundFunction = functionBind.call(context, functionName);
After
const boundFunction = functionName.bind(context);
Build custom codemods
Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community