title: How to set condition value in Reactjs
body: <p>I try to set a condition</p>
  <pre><code> initialValue = {
                  this.props.noteviewReducer.isError &amp;&amp;
                  this.props.noteviewReducer.result.body
   }
  </code></pre>
  <p><code>if (this.props.noteviewReducer.isError)</code> <strong>true</strong> then show <code>this.props.noteviewReducer.result.body</code></p>
  <p>if <code>not</code>, then <strong>not show</strong></p>