Array Includes Codemod
Introduction
This codemod replaces instances of the array-includes library with the built-in Array.prototype.includes method. This transformation reduces unnecessary dependencies by leveraging native JavaScript features, thereby optimizing the codebase and potentially improving performance.
Before
javascript
After
javascript