title: Getting error Invariant Violation: Tried to register two views with the same name
body: <p>I have used react-native when it was 0.50 now I'm using it again and it's 0.61.1<br/>
  I am making an app and using <code>"react-navigation"</code> library for routing.<br/><br/></p>
  
  <p>Since I'm using the <code>react-native-gesture-handler</code> according to the documentation I'm getting the error sometimes of <code>"Invariant Violation: Tried to register two views with the same name"</code> and when I close the app and reopen it, it's gone.<br/></p>
  
  <p>And especially <code>"Invariant Violation: Tried to register two views with the same name gestureHandlerRootView"</code> error comes so many times in-app.</p>
  
  <p>here is the <a href="https://i.stack.imgur.com/P0Svf.png" rel="nofollow noreferrer">screenshot</a> of error in my console:<br/>
  <img src="https://i.stack.imgur.com/P0Svf.png" width="500" height="200">
  <br/></p>
  
  <p>And because of this error, My app in release mode is also crashing as soon as I open it. I'm using React Native CLI not EXPO. I've searched in stack overflow and on other places but all the answers I got are saying remove <code>react-native-gesture-handler</code> from the expo.
  <br/>
  But I'm not using EXPO what should I do? Please help.</p>