Use case
Framework
Owner
Schema Validation
This transformation involves modifying how a
paragraph
block type is handled in a schema-like structure by replacing its static configuration with a runtime validation function(isValidNode)
.Before
Editor Has Path
This guide covers the migration of
Editor.hasPath
usage from Slate.js v0.88 to v0.104. The API has changed from a property-based check to a function call pattern, requiring updates to existing code.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/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.
Fastify/5/Route Schema Enhancement
This codemod enhances the schema definition for query strings by converting it to the full object schema format, adding properties and required fields.
Add Zod Validation
This codemod adds zod validation to query parsing.
Codemod verified
Regularly tested and maintained by our engineers and codemod expert community
by@codemod