CCodemod

next/13/new-link

No description available

next.jsmigration
Public
40 executions

Run locally

npx codemod next/13/new-link

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.