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
constt=useTranslation()// Retrieves the proper Translation-object for the current languageconstwhatever=t.someTranslationKey()// Alternate APIconstwhatever=t('someTranslationKey')// take a `keyof Translations` as an argument
might be an improvement.
The text was updated successfully, but these errors were encountered:
i18next is quite heavyweight and not particularly suitable for our use-cases. I think we could come up with a homegrown solution that would be
Just a simple TypeScript object like
and an accompanying hook
might be an improvement.
The text was updated successfully, but these errors were encountered: