title: Exporting a React Application as static HTML
body: <p>I've created a new React application.  As it stands, it just the template from Visual Studio; New Project -> Asp.Net Core -> React.</p>
  
  <p>When the application runs, there is an element of dynamic content displayed on the screen.  What I want to be able to do is to get some kind of HTML dump of this page, such that I could paste it into a static web application and have the same screen rendered.</p>
  
  <p>I've had a look around, and have found a few tools, such as <a href="https://github.com/geelen/react-snapshot" rel="nofollow noreferrer">react-snapshot</a> which appear to do what I want; however, it seems to be that you're in or out; that is, you either have it dynamically rendered or statically rendered.  I just want a static dump of the HTML, and would like to leave the rendering as is.</p>
  
  <p>For example, inside my Javascript, I have the following code:</p>
  
  <pre><code>const htmlSection = document.getElementById("MyHtml");
  // Export Html Here
  </code></pre>
  
  <p>Is this kind of thing possible and, if so, how can it be achieved in code?</p>