title: convert a string to pdf in react
body: <p>In a react app, I am getting a raw pdf string from an API and I would like to convert it to a pdf document in a new tab in the user browser.</p>
  
  <p>I fetch the data with a simple <code>Axios</code> request and get something like this in return:</p>
  
  <pre><code>data: "JVBERi0xLjcKNyAwIG9iago8......."
  status: 200
  statusText: "OK"
  headers: {
  cache-control: "no-cache, must-revalidate"
  content-length: "361614"
  content-type: "application/json; charset=utf-8"
  expires: "0"}.....
  </code></pre>
  
  <p>any suggestions on how to convert this raw string to a pdf file in react?</p>