title: How to use react-i18next inside BASIC function (not component)?
body: <p>I know that react-i18next work in every component: functional (with useTranslation) and class component (with withTranslation()) BUT I can't use translation inside a basic function like this:</p>
  
  <pre><code>const not_a_component = () =&gt; {
    const { t } = useTranslation();
    return t('translation')
  };
  
  const translate = not_a_component();
  </code></pre>
  
  <p>ERROR HOOKS !</p>
  
  <p>Thanks !</p>