title: How to Enable the new LogBox (RN)
body: <p>I'm trying to enable the new LogBox in React Native (v0.62.0-rc.2), I just have to add a line to the "index.js" file but it doesn't work.</p>
  
  <blockquote>
    <p>RC2 introduces the new LogBox experience behind a feature flag. To try
    it out, add the following to your index.js file:</p>
  </blockquote>
  
  <pre><code>require('react-native').unstable_enableLogBox()
  </code></pre>
  
  <p>index.js</p>
  
  <pre><code>require('react-native').unstable_enableLogBox();
  
  import {AppRegistry} from 'react-native';
  import App from './App';
  import {name as appName} from './app.json';
  
  AppRegistry.registerComponent(appName, () =&gt; App);
  </code></pre>
  
  <p>Error output:</p>
  
  <pre><code>TypeError: _$$_REQUIRE(_dependencyMap[1], "react-native").unstable_enableLogBox is not a function.
  </code></pre>
  
  <p>I'm sure I'm doing something wrong, maybe it's not the right way.</p>