title: How to change text in text area with React Hooks?
body: <blockquote>
  <p>I want to change the text written in textarea with react hooks. But I have problem with reading text from text area.</p>
  </blockquote>
  <pre><code>const uCyr = function uCyr() {
  var entered_text;
  entered_text = document.getElementById(&quot;textarea&quot;).value;
  entered_text = entered_text.replace(/a/g, &quot;b&quot;);
  document.getElementById(&quot;textarea&quot;).style.color = &quot;#9C27B0&quot;;
  document.getElementById(&quot;textarea&quot;).value = entered_text;
  };
  </code></pre>
  <p>export default uCyr;</p>
  <p><a href="https://codesandbox.io/s/ucirl-xw666?file=/src/Ucyr.js:0-309" rel="nofollow noreferrer">Link sandbox</a></p>