Patch Changes
-
Resolve the HTML attributes of
Linkfrom your project's React types instead of shipping a copy from the build ofnext-intl. This removes a straytwprop that leaked into the declarations of 4.16.0 and fixes type errors when your@types/reactversion differs from the onenext-intlwas built with. (#2540,8a10889, @amannn) -
Leave
localeCookieflags that are set tofalse(e.g.secure: false,partitioned: false) out of the cookie thatLinkanduseRouterwrite when switching the locale, instead of writing them as if they weretrue. (#2538,7a3265f, @burrows99)