react native convert component to html
createMarker: function() { /** Some other lines of code */ _this = this; google.maps.event.addListener(marker, 'click', function() { var div = document.createElement('div'); ReactDOM.render( _this._renderInfoWindow(place), div ); infowindow.setContent( div ); infowindow.open(map, this); }); },
Source: stackoverflow.com