E

e18e/@e18e/array.prototype.push

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

Array.prototype.push Codemod

Introduction

This codemod replaces the usage of array.push with a more efficient implementation that avoids unnecessary overhead in the codebase. By optimizing the way arrays are manipulated, this transformation helps reduce bundle size and improve performance.

Before

javascript

After

javascript

Ready to contribute?

Build your own codemod and share it with the community.