M

react-router/7/add_v7_partialHydration_Flag

How to Use
Run this codemod on your codebase using one of the following commands

The easiest way to run this codemod without installing anything globally:

Documentation

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

Before

ts

After

ts

Ready to contribute?

Build your own codemod and share it with the community.