• Remix/Single Fetch/Recipe

    This codemod runs all of the Single Fetch codemods in order

  • Remix/2/Route Exports To Define Route

    This codemod adds a defineRoute({ action, loader, Component }) export to your routes and removes the old exports.

  • Remix/Single Fetch/Replace Types

    This codemod replaces the UIMatch and MetaArgs types with UIMatch_SingleFetch and MetaArgs_SingleFetch

  • Remix/Single Fetch/Redirect To Response

    This codemod removes Remix's redirect() and redirectDocument() helper functions to take advantage of the new Single Fetch features.

  • Remix/Single Fetch/New Response To Response

    This codemod removes new Response() calls in actions and loaders and replaces them with mutations to the new response arg from Single Fetch.

  • Remix/Single Fetch/Json To Response

    This codemod removes Remix's json() helper function to take advantage of the new Single Fetch features.

  • Remix/Single Fetch/Include Typedef

    Adds the typings for Single Fetch to your tsconfig.json file.

  • Remix/Single Fetch/Enable Install Globals Native Fetch

    Enables the nativeFetch flag in all instances of installGlobals

  • Remix/Single Fetch/Enable Flag

    Enables the single fetch flag in the Remix Vite config.

  • Remix/Single Fetch/Defer To Response

    This codemod removes Remix's defer() helper as it is no longer needed in Single Fetch.