title: How could I get exp in all components so I could handle component error?
body: <p>I am using <strong>expo-error-recovery</strong> library.
  On the App component, if something is wrong, exp is provided.
  If an error happened in my NavMain or other component, exp is undefined.</p>
  <pre class="lang-js prettyprint-override"><code>const defaultErrorHandler = ErrorUtils.getGlobalHandler();
  const globalErrorHandler = (err, isFatal) =&gt; {
    console.log(&quot;err&quot;);
    ErrorRecovery.setRecoveryProps({ info: err });
    defaultErrorHandler(err, isFatal);
  };
  ErrorUtils.setGlobalHandler(globalErrorHandler);
  
  export default ({ exp }) =&gt; {
    if (exp.errorRecovery != null) return &lt;ErrorFallback exp={exp} /&gt;;
    return (
      &lt;NavMain /&gt;
    );
  };
  </code></pre>