title: Concatenate text from React Hook
body: <p>I have following hook:</p>
  
  <pre><code>const [textToFront, setTextToFront] = useState('');
  </code></pre>
  
  <p>When I call <code>setTextToFront</code> I see that old state was cleared, I want to implement simple thing, I just want to create one big String in the hook and display. How to store and add new coming state to old state?</p>