• React Router/7/Update Imports

    In v7 the react-router and react-router-dom packages are combined so this codemod import everything directly from "react-router" except for the RouterProvider exception.

  • Webpack To Rspack/Migrate Update Babel Loader To Swc Loader

    Using builtin:swc-loader offers better performance compared to the babel-loader and the external swc-loader, as it avoids frequent communication between JavaScript and Rust.

  • 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 SkipActionStatusRevalidation Flag

    This transformation adds the necessary configuration to enable v7 features, specifically the v7_skipActionStatusRevalidation flag.

  • React Router/7/Add V7 PartialHydration Flag

    This transformation adds the necessary configuration to enable v7 features, specifically the v7_partialHydration_Flag flags

  • React Router/7/Add V7 NormalizeFormMethod

    This transformation adds the necessary configuration to enable v7 features, specifically adds the v7_normalizeFormMethod

  • 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/Add V7 StartTransition Flag

    This transformation adds the necessary configuration to enable v7 features, specifically the v7_startTransition flags. It affects , , and createBrowserRouter configurations.

  • React Router/7/Add V7 RelativeSplatPath Flag

    This transformation adds the necessary configuration to enable v7 features, specifically the v7_relativeSplatPath flag. It affects both components and createBrowserRouter configurations.

  • React Router/7/Relative Links

    This transformation updates elements within route trees to include an extra relative segment. This ensures that links continue to point to the correct locations after the route structure changes.

  • React Router/7/Route Wildcard To Nested

    This transformation updates the routing structure for multi-segment splat paths. It affects both createBrowserRouter configurations and components.

  • React Router/7/Form Methods Post Get To Uppercase

    This transformation updates formMethod checks to use uppercase HTTP methods.

  • React Router/7/Errorfirst Mutation Reorder

    This transformation restructures action functions to perform error checking before data mutations. This change aligns with the new behavior in v7 where loaders no longer revalidate by default after an action throws or returns a Response with a 4xx/5xx status code.

  • 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/Migration Recipe

    This recipe is a set of codemods that will help migrate to meteor v3 from meteor 2.x .

  • Remix Js/V2/Typescript 2 Update Links Function And Property Names

    Route links properties should all be the React camelCase values instead of HTML lowercase values.

  • Remix Js/V2/Remix Run 1 Use Transition To Use Navigation

    This hook is now called useNavigation to avoid confusion with the recent React hook by the same name. It also no longer has the type field and flattens the submission object into the navigation object itself.

  • Remix Js/V2/Remix 1 Use Route Error Codemod

    In v1, a thrown Response rendered the closest CatchBoundary while all other unhandled exceptions rendered the ErrorBoundary. In v2 there is no CatchBoundary and all unhandled exceptions will render the ErrorBoundary, response or otherwise.

  • Remix Js/V2/Fetcher Submission Properties Flattening

    Like useNavigation, useFetcher has flattened the submission and removed the type field.