title: Google Maps v3 Grey Box with React
body: <p>Hey guys I am trying to add a google map to a react project and I am getting a grey box with no errors. Any idea why. Here's the code: </p>
  
  <pre><code>componentDidMount: function(){
  
  
      function initMap() {
  
          var map = new google.maps.Map(document.getElementById('map'), {
          zoom: 12,
          center: {lat: 37.7749300, lng: -122.4194200},
          mapTypeId: google.maps.MapTypeId.ROADMAP
          });
      };
          initMap(); 
  
   }// end of cdm;
  });
  </code></pre>