Link legacyBehavior

Whenever I used Link I have the following problem. I am using Plasmic Codegen and using @plasmicapp/react-web version 0.2.400 (was using version 0.2.398).

I had refer to the following but problem still persist.

`legacyBehavior` is deprecated and will be removed in a future release. A codemod is available to upgrade your components:

npx @next/codemod@latest new-link .

Learn more: https://nextjs.org/docs/app/building-your-application/upgrading/codemods#remove-a-tags-from-link-components

Please advise.

Thank you.

Hi @mountains,

In our next major version pump of react-web, we will be resolving this issue. I can’t give a timeline right now, but it will definitely be before Next completely deprecates the old Link.

For now, you can safely ignore it.

1 Like

Hi @jason , How can we disable the error message in the meantime?