title: useIonViewDidEnter in the menu doesn't work in ionic-react
body: <p>I'm working with ionic react and I want to use <code>useIonViewDidEnter</code> in the menu component but <code>useIonViewDidEnter</code> in the menu component doesn't work and nothing showing in the console, anyone can help, please?</p>
  <pre class="lang-js prettyprint-override"><code>    const ManagerMenu: React.FC = () =&gt; {
      
      useIonViewDidEnter(() =&gt; {
      console.log('isAuthorizedToSeeContracts')
      
      })
  </code></pre>