JSFiddle - React, Tailwind, and code Playground
by Kerrick
HTML
<div id="test"></div>
<div id="rand"></div>
JavaScript
window.afterMapsLoaded = function() {
new window.google.maps.Map(document.getElementById('test'));
}
document.getElementById('rand').innerHTML = Math.random();
jQuery.ajax({
url: 'https://maps.googleapis.com/maps/api/js?sensor=true&callback=afterMapsLoaded',
dataType: 'script',
cache: false
});