CCodemod

next/13/new-link

No description available

Legacy
next.jsmigration
Public
11 downloads
0 stars
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

Safely removes <a> from Link components imported from the next/link module or adds the legacyBehavior prop on the component level.

Example

Before

jsx

After

jsx

Ready to contribute?

Build your own codemod and share it with the community.