Closed amannn closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
next-intl-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 9, 2024 5:36pm |
next-intl-example-app-router | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 9, 2024 5:36pm |
next-intl-example-app-router-without-i18n-routing | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 9, 2024 5:36pm |
If you have nested providers, previously only the configuration of the innermost one would be applied.
With this change, configuration is now passed from one provider to the next, while allowing to override individual props. This simplifies the configuration of
onError
andgetMessageFallback
if you're using those (see proposed docs).Breaking change: There's a very rare chance that this change affects your app, but in case you've previously relied on providers not inheriting from each other, you now have to reset props manually in case you want to retain the previous behavior.