JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
  <head>
    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4/leaflet.css" />
    <!--[if lte IE 8]>
    <link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4/leaflet.ie.css" />
    <![endif]-->
    <script src="http://cdn.leafletjs.com/leaflet-0.4/leaflet.js"></script>

    <style>
      #map {
        display: none;

        position: absolute;
        top: 20px;
        left: 20px;
        right: 20px;
        bottom: 20px;
        border: solid 3px #654;
      }
    </style>
  </head>
<body>
  <div id="map"></div>
</body>
<script>
  onload = function() {
    var map = L.map('map');

    L.tileLayer(
      'http://{s}.tile.cloudmade.com/aff5f0a045214943abd9139dba7ddc79/997/256/{z}/{x}/{y}.png',
      {maxZoom: 18}
    ).addTo(map);

    map.setView([44.06, -121.31], 10);

    document.getElementById('map').style.display = 'block';

    // Uncommenting  this line causes map to render properly
    // setTimeout(map.invalidateSize.bind(map));
  }
</script>
</html>