Migrating to v3.22 #1566
Replies: 1 comment 1 reply
-
You mean updating to But in regard to your question: If you use You can compose the |
Beta Was this translation helpful? Give feedback.
-
You mean updating to But in regard to your question: If you use You can compose the |
Beta Was this translation helpful? Give feedback.
-
Today I noticed there are some breaking changes in v3.22 while I was trying to upgrade
next-intl
in a project.I have a component like this where I pass the
Link
component as a propIt's using these types
It worked perfectly within the next.js ecosystem until now. But now it complains about the type of
href
First I tried to solve it by extending those types with generics. It worked. But it didn't work well with next.js' Link component.
Is there any way to disable type-safe href? or any idea to solve this?
Btw I noticed the Link composition section in the docs. But it's not an option for this case. Because this component comes from a library which is supposed to stay agnostic with next.js plugins.
Beta Was this translation helpful? Give feedback.
All reactions