title: asp.net mvc 5 how to render a ReactJS component using a javascript function
body: <p>I am using asp.net mvc 5 and have a view .cshtml file. On it I have a javascript function that I call when I click a button on the view. I am trying to load a react component in the javascript function into a div. Here is my function and syntax - can someone provide me the proper syntax to accomplish this task?</p>
  
  <pre><code>function loadCompanyComponent() {
          alert('hurray');
          React.render(&lt;ManageBlockedManufacturersScreen /&gt;, document.getElementById('react'));
          }
  </code></pre>
  
  <p>thanks.</p>