Remix - Advanced Patterns
What will be the rendered output of this React component using Remix i18n if the translation key 'greeting' is 'Hello' in English and 'Hola' in Spanish, and the current locale is 'es'?
function Greeting() {
const { t } = useTranslation();
return <h1>{t('greeting')}</h1>;
}