title: access value inside this.state in react
body: <p>I have the following line of codes.</p>
  
  <pre><code>constructor(props) {
          super(props);
          this.state = {
              trends_1: [
                  { start: [parseFloat(props.ab), parseFloat(props.cd)], end: [parseFloat(props.wy), parseFloat(props.yz)], appearance: { stroke: "green" }, type: "XLINE" }
              ]
          };
      }
  </code></pre>
  
  <p>How can I access the value of <code>parseFloat(props.ab)</code> and <code>parseFloat(props.yz)</code>?</p>