Skip to main content

Assess, plan, evolve.

Reusable compiler-aware skills that help coding agents understand, plan, and safely evolve your codebase.

63 packages

Sort by
T
react-router-compat-router

No description available

v1.0.5
taziva
5
a year ago
A
react-router/4/hash-router

Run this codemod to replace `Router` using `hashHistory` to `HashRouter` in v4.

migration
v1.0.2
alexbit-codemod
0
a year ago
AAnkit-raj-11 avatar
react-router-v6-to-v7

Automate migration from React Router v6 to v7 (imports, future flags, deprecated APIs)

react-routermigration+3
v1.0.0
Ankit-raj-11
0
4 months ago
C
react-router/6/compat-router

migration
v1.0.1
Codemod
7
a year ago
A
react-router/4/index-route

Replace `IndexRoute` with `Route` having `exact` prop set to `true`.

migration
v1.0.2
alexbit-codemod
1
a year ago
A
react-router/4/browser-router

Run this codemod to replace `Router` using `browserHistory` to `BrowserRouter` in v4.

migration
v1.0.2
alexbit-codemod
0
a year ago
M
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. ## Included Codemods The following codemods are included in this recipe: 1. **[`react-router/7/relative-links`](https://codemod.com/registry/react-router-7-relative-links)** Updates relative link paths to comply with v7 standards. 2. **[`react-router/7/add_v7_relativeSplatPath_Flag`](https://codemod.com/registry/react-router-7-add_v7_relativeSplatPath_Flag)** Adds the `relativeSplatPath` flag to routes to support relative splat behavior. 3. **[`react-router/7/errorfirst-mutation-reorder`](https://codemod.com/registry/react-router-7-errorfirst-mutation-reorder)** Reorders error-first mutation signatures for compatibility with v7. 4. **[`react-router/7/form-methods-post-get-to-uppercase`](https://codemod.com/registry/react-router-7-form-methods-post-get-to-uppercase)** Converts form method strings (`post`, `get`) to uppercase as required by v7. 5. **[`react-router/7/route-wildcard-to-nested`](https://codemod.com/registry/react-router-7-route-wildcard-to-nested)** Transforms route wildcards into nested routes for improved routing management. 6. **[`react-router/7/add_v7_startTransition_Flag`](https://codemod.com/registry/react-router-7-add-v7-startTransition-flag)** Introduces the `startTransition` flag to enhance transitions in routing. 7. **[`react-router/7/add_v7_fetcherPersist_Flag`](https://codemod.com/registry/react-router-7-add_v7_fetcherPersist_Flag)** Adds the `fetcherPersist` flag to improve data fetching mechanisms. 8. **[`react-router/7/add_v7_normalizeFormMethod`](https://codemod.com/registry/react-router-7-add_v7_normalizeFormMethod)** Normalizes form methods to align with v7 conventions. 9. **[`react-router/7/add_v7_partialHydration_Flag`](https://codemod.com/registry/react-router-7-add_v7_partialHydration_Flag)** Integrates the `partialHydration` flag to support enhanced hydration strategies. 10. **[`react-router/7/add_v7_skipActionStatusRevalidation_Flag`](https://codemod.com/registry/react-router-7-add_v7_skipActionStatusRevalidation_Flag)** Adds the `skipActionStatusRevalidation` flag for improved action handling. ---

react-routermigration+1
v1.0.3
manishjha-04
58
a year ago
C
react-router/6/compat-route

migration
v1.0.1
Codemod
6
a year ago
Aarpit2222 avatar
react-router-v6-to-v7-pro

Professional React Router v6 to v7 migration - 7 transforms, zero false positives

upgradebreaking-change+3
v1.0.0
arpit2222
3
4 months ago
C
react-router/6/use-route-match

migration
v1.0.1
Codemod
14
a year ago
C
react-router/6/use-params

migration
v1.0.1
Codemod
7
a year ago
Aarpit2222 avatar
react-router-v6-to-v7-full

Automated codemod to migrate React Router v6 projects to v7. Handles import rewrites, future flags, RouterProvider fix, json/defer removal, fallbackElement migration, and formMethod casing.

upgradebreaking-change+3
v1.0.0
arpit2222
0
4 months ago

Ready to evolve your codebase?

Build tailored, compiler-aware skills to assess, plan, and automate complex codebase changes.