title: Is there a way to keep debug code out of a release build in React Native?
body: <p>I want to use some debug code in my app but I don't want this code to be in the release build. I'm using the following check for this:</p>
  
  <pre><code>    if(__DEV__) {
          this.setState({username: 'Niel', password: 'Test'});
      }
  </code></pre>
  
  <p>If I generate my release build. Will the check still be in the build or will the dead code be removed? If not, is there a way to accomplish this?</p>