title: TypeError: Super expression must either be null or a function (React Native)
body: <p>I'm having an issue showing the error on the start of the app after build </p>
  
  <blockquote>
    <p>"TypeError: Super expression must either be null or a function"</p>
  </blockquote>
  
  <p>As I found many similar question but my problem is different as I've reviewed my code 3 times, not got any import problem, before installing a library named <code>react-native-gifted-chat</code>, my app was working fine. But after that app started to show this error although I've just imported the library (Not Used Any Code of it).</p>
  
  <p><a href="https://i.stack.imgur.com/8OlS2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8OlS2.png" alt="enter image description here"></a></p>
  
  <p>But when I simply remove this line of code <code>import {GiftedChat} from 'react-native-gifted-chat';</code>, my app was working fine again.
  Any suggestions?</p>
  
  <p>My packages are:</p>
  
  <pre><code>"react": "16.11.0",
  "react-native": "0.62.2",
  "react-native-gesture-handler": "^1.6.1",
  "react-native-gifted-chat": "^0.13.0",
  "react-native-reanimated": "^1.7.1",
  "react-native-safe-area-context": "^0.7.3",
  "react-native-screens": "^2.4.0",
  "react-navigation": "4.3.3",
  "react-navigation-stack": "^2.3.11"
  </code></pre>