title: Can't find variable: Component in react native
body: <p>I'm building a simple app with react native using among other things Expo. After an update of react, expo, react-native from a previous version, I get an error I cannot seem to get rid of (see picture). I have looked in index.js, MainNavigator.js, LoginNavigator.js to ensure that I have <code>import React, {Component } from 'react';</code> in the preamble, but the problem persists. Can anyone guide me in a direction to help solve this problem?</p>
  
  <p><a href="https://i.stack.imgur.com/lTVY7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/lTVY7.png" alt="enter image description here"></a></p>
  
  <p>Also tried:</p>
  
  <ul>
  <li>Running <code>exp install:ios</code> to make sure that I have the latest version on the simulator</li>
  <li>Several of the solutions mentioned <a href="https://gist.github.com/jarretmoses/c2e4786fd342b3444f3bc6beff32098d" rel="nofollow noreferrer">here</a>, e.g. <code>watchman watch-del-all &amp;&amp; react-native start --reset-cache</code> and <code>watchman watch-del-all &amp;&amp; rm -rf $TMPDIR/react-* &amp;&amp; rm -rf node_modules/ &amp;&amp; npm cache verify &amp;&amp; npm install &amp;&amp; npm start --reset-cache</code></li>
  <li>Re-installing expo with <code>npm install exp --global</code></li>
  <li>Following the <a href="https://blog.expo.io/expo-sdk-v25-0-0-is-now-available-714d10a8c3f7" rel="nofollow noreferrer">upgrade guide</a> at from Expo for SDK v25.0.0, i.e. changing <code>app.json</code> <code>package.json</code>, deleting <code>node_modules</code> and then running <code>exp start -c</code>.</li>
  <li>Running <code>react-native link</code>.</li>
  <li>Using <code>import React from 'react';</code>and then <code>... extends React.Component</code></li>
  <li>Manually installing all packages except <code>react-native</code>, <code>expo</code> and <code>react</code> again using ´npm install [package] --save`</li>
  </ul>
  
  <p>Excerpt from package.json:
  <a href="https://i.stack.imgur.com/7g8r9.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7g8r9.png" alt="Versions:"></a></p>