JSFiddle - React, Tailwind, and code Playground
HTML
<!-- 1. Load the resrc.js library -->
<script src="//use.resrc.it/0.8"></script>
<!-- 2. On DOM Ready, Execute resrc -->
<script>
resrc.ready(function() {
resrc.resrc();
});
</script>
<body>
<img data-src="http://www.your-site.co/image.jpg" class="resrc" />
</body>
CSS
.resrc {
width: 100%
}