title: Cannot insert the meta tag at the beginning of a head
body: <p>I am trying to add a script into the beginning of a head in a react app.
  The only way I could think of it was adding the following to component did mount:</p>
  
  <pre><code>    var head = document.getElementsByTagName("head")[0];
      head.insertBefore("&lt;meta  id='test'/&gt;", head.firstElementChild);
      console.log("test");
      console.log(head);
  </code></pre>
  
  <p>which I found here:</p>
  
  <p><a href="https://stackoverflow.com/questions/12979366/how-do-i-insert-a-script-tag-in-to-the-top-beginning-of-head-tag">How do I insert a script tag in to the top/beginning of head tag?</a></p>
  
  <p>But I cannot see anything inserted into the head.
  Any idea?</p>