title: react native checking previous state
body: <p>I cant check a value of a previous state in render </p>
  
  <p>my code is</p>
  
  <pre><code>    this.setState(previousState =&gt; ({
    if(name!=previousState.name){
  
                   name:name,
                  uri:uri,
                  fbid:fbid,
  
  
   }           
          }));
  </code></pre>