title: Get text content from node in React
body: <p>Having a bit of trouble pulling text from a node. </p>
  
  <p>The node is a paragraph. </p>
  
  <pre><code> &lt;p className="Blend" refs="hello"&gt; { `${this.state.landing}?utm_campaign=${this.state.utm}` } &lt;/p&gt;
  </code></pre>
  
  <p>I’m trying to log the contents of the node to the console in a function. </p>
  
  <pre><code> makeSmall = () =&gt; {
          var text = this.refs.hello.innerText
          console.log(text)
        }
  </code></pre>
  
  <p>However, this console is not returning anything. I've tried accessing the node with via className as well. </p>
  
  <p>What's the proper way to access text in React? </p>