Use case
Framework
Owner
Vue 2 To Vue 3 Refs And Methods
Example
This codemod turns X into Y. It also does Z. Note: this is a contrived example. Please modify it.
Remix/2/React Router/Upgrade
This codemod automates most of the manual steps outlined in the Remix to React Router upgrade guide.
React 17 Default Props To Params
Example
This codemod turns X into Y. It also does Z. Note: this is a contrived example. Please modify it.
React Router/7/Migration Recipe
This codemods designed to facilitate the migration of your project from React Router to version 7. Each codemod targets specific changes and improvements introduced in React Router v7, ensuring a smoother transition.
React Router/7/Add V7 FetcherPersist Flag
This transformation adds the necessary configuration to enable v7 features, specifically the v7_fetcherPersist flags
React Router/7/Form Methods Post Get To Uppercase
This transformation updates formMethod checks to use uppercase HTTP methods.
Meteor/V3/Update React
This codemod helps in transforming react to meteor
MoveStateToChildComponent
This codemod refactors React components by moving
useState
hooks from parent components to child components when the state and setter function (setState
) are passed down as props. The goal is to simplify the parent components and allow child components to manage their own internal state when appropriate.Meteor/V3/Mongo Db Async Methods
This codemod updates synchronous MongoDB operations in a Meteor project to use their asynchronous counterparts, making the code compatible with modern JavaScript best practices (using
async/await
). It transforms methods such asfind
,findOne
,insert
,update
,remove
, andupsert
to their asynchronous equivalents by appendingAsync
to method names and introducingawait
.Remix Js/V2/Migration Recipe
This recipe is a set of codemods that will help migrate to Remix.js v2.
Remix Js/V2/Fetcher Submission Properties Flattening
Like useNavigation, useFetcher has flattened the submission and removed the type field.
Next/15/Update Fetch Requests To Handle Caching
Update Fetch Requests to Handle Caching
Next/15/Migration Recipe
This recipe is a set of codemods that will help migrate to next 15.
Meteor/V3/Call Async
This codemod replaces call with callAsync, since thats how meteor works with calls now.
Valtio/V2/Use Snapshot Migration
This codemod automates the migration of Valtio code to accommodate changes in the behavior of
useSnapshot()
. In recent updates,useSnapshot()
has been modified for better compatibility withuseMemo
and the upcoming React compiler. This codemod updates your code to ensure optimal performance and compatibility with these changes.TanStackRouter CodeSplitting
This codemod automates the process of splitting your TanStack Router route files into two separate files to enable code splitting. By utilizing this codemod, you can easily move non-critical route configuration, such as the component, into a separate
.lazy.tsx
file, which allows for better performance and reduced initial load time in your React application.Ethers/6/Utilities
This codemod does tranformation based on changes in the utils in ethers.js
Sentry/V8/Removal Sentry.ConfigureScope Method
This codemod facilitates the migration from Sentry version 7.x to 8.x by removing the deprecated Sentry.configureScope method. Instead, it transforms the code to utilize Sentry.getCurrentScope() for accessing and mutating the current scope. This change simplifies the API and aligns with the latest Sentry practices.
Removal Sentry.ConfigureScope Method
This codemod facilitates the migration from Sentry version 7.x to 8.x by removing the deprecated Sentry.configureScope method. Instead, it transforms the code to utilize Sentry.getCurrentScope() for accessing and mutating the current scope. This change simplifies the API and aligns with the latest Sentry practices.