rsnext/packages/next/next-server
JJ Kasper e554a1fbb9
Add locale prop for transitioning locales client side (#17898)
This adds the `locale` prop for `next/link` to allow transitioning between locales client-side and also allows passing the locale to `router.push/replace` via the transition options similar to `shallow` e.g. `router.push('/another', '/another, { locale: 'nl' })`

x-ref: https://github.com/vercel/next.js/pull/17370
2020-10-15 08:58:26 +00:00
..
lib Add locale prop for transitioning locales client side (#17898) 2020-10-15 08:58:26 +00:00
server Add locale prop for transitioning locales client side (#17898) 2020-10-15 08:58:26 +00:00