title: React - How can I make one time only rendering value in state
body: <p>What I need to do is to <strong>setState</strong> with a value, then send data to a children by props, but I would like "state" to forget about that after doing this once. </p>
  
  <pre><code>this.setState({ 
      animateId: 15 //or any number of id
  });
  </code></pre>
  
  <p>then later</p>
  
  <pre><code>if(this.state.animateId){
     let idToSent = this.state.animateId;
  }
  &lt;Items &lt;...different props&gt; animate={idToSent}/&gt; //once after settingState - 15, 
                                          // then undefined or whatever with every next time
  </code></pre>
  
  <p>and I would want to take this value once, send it via props, and forget about it, either way.</p>
  
  <p>Is there any way to do that, beside just altering that one value in state again, because that would cause unnecesary rendering ??</p>