title: Can react state be tampered with to bypass security measures?
body: <p>I have two components. One component that the user must use to login and one component to show some content.</p>
  
  <p>I was thinking of implementing my application by having one component that has some react state that tells it to render either the login component or the other one.</p>
  
  <p>If I do this, would it be possible for on the client-side to manually set the state so that the login screen is bypassed and the content is shown?</p>
  
  <p>EDIT: Added some example code.</p>
  
  <p><code>
  render () {
      if (this.state.authorized) {
          return &lt;Content /&gt;
      } else {
          return &lt;Login /&gt;
      }
  }
  </code></p>
  
  <p>With this code in mind, given that only the <code>&lt;Login /&gt;</code> component is capable of setting the <code>authorized</code> state to <code>true</code>, is it possible for the client-side to simply get around this by manually setting the state somehow? For example through the chrome react dev tools or something?</p>