title: Expo App works fine on development mode but crashes on productions
body: <p>I'm currently developing a simple orders app which works ok on development, but if I install the apk from build or run the app on production mode through Expo Client I get this error:</p>
  <pre><code>TypeError: (0,f.useState) is not a function. (In '(0,f.useState)(!0)', '(0,f.useState)' is undefined)
  
  This error is located at:
      in C
      in B
      in RCTView
      in View
      in RCTView
      in View
      in RCTScrollView
      in y
      in ScrollView
      in w
      in P
      in RCTView
      in View
      in RCTView
      in View
      in RCTView
      in View
      in ForwardRef
      in RCTView
      in View
      in k
      in ForwardRef
      in PanGestureHandler
      in Unknown
      in RCTView
      in View
      in k
      in ForwardRef
      in RCTView
      in View
      in H
      in Unknown
      in RCTView
      in View
      in Unknown
      in RCTView
      in View
      in Unknown
      in w
      in b
      in RNCSafeAreaProvider
      in Unknown
      in Unknown
      in RCTView
      in View
      in x
      in Unknown
      in Unknown
      in O
      in P
      in RCTView
      in View
      in RCTView
      in View
      in O
      in RCTView
      in View
      in f
      in RCTView
      in View
      in AnimatedComponent(View)
      in RCTView
      in View
      in AnimatedComponent(View)
      in PanGestureHandler
      in le
      in L
      in O
      in P
      in R
      in O
      in O
      in l
      in c
      in Unknown
      in Unknown
      in RCTView
      in View
      in RCTView
      in View
      in C
  </code></pre>
  <p>My current config is:</p>
  <ul>
  <li>expo-cli: 4.0.17</li>
  <li>expo-sdk: 40.0.1 (react-native 0.63.3)</li>
  <li>react: 16.13.1</li>
  <li>react-dom: 16.13.1</li>
  </ul>
  <p>This error doesn't happen at startup but when I reach a particular page.
  Things I tried so far after reading a lot of QA about <code>TypeError: (0,f.useState) is not a function</code>:</p>
  <ul>
  <li>reinstall node_modules, clear npm cache, delete watchers.</li>
  <li>use <code>React.useState</code> instead of <code>useState</code>.</li>
  <li>check for help on expo forums.</li>
  </ul>
  <p>Does anybody know how to fix this issue? Or what can I try to make it work?
  Regards!</p>