You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to use a new feature, ability to supply keyPrefix into useTranslation hook.
const { t } = useTranslation('myTranslations', { keyPrefix: 'deeply.nested' })
I couldn't figure out why it didn't want to work,
so I started investigation into merged PRs and found out that I need to upgrade i18next package to at least 20.6 version.
I wanted to use a new feature, ability to supply keyPrefix into useTranslation hook.
const { t } = useTranslation('myTranslations', { keyPrefix: 'deeply.nested' })
I couldn't figure out why it didn't want to work,
so I started investigation into merged PRs and found out that I need to upgrade
i18next
package to at least 20.6 version.No npm. or yarn informed me about this, because version of
i18next
as a peerDependency was not bumped up.So please bump it to save others developers time for searching this.
The text was updated successfully, but these errors were encountered: