title: NetInfo removed from React Native error even after upgrading to 'react-native-community/netinfo'
body: <blockquote>
    <p>Invariant
    Violation: NetInfo has been removed from React Native. It can now be
    installed and imported from 'react-native-netinfo' instead of
    'react-native'</p>
  </blockquote>
  
  <p>Getting the above error even after updating <code>react-native-netinfo</code> to <code>react-native-community/netinfo</code>. I have also changed the imports to <code>import NetInfo  from '@react-native-community/netinfo';</code></p>
  
  <p><a href="https://i.stack.imgur.com/xliTp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xliTp.png" alt="enter image description here"></a></p>