JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://keith-wood.name/js/jquery.countdown.js"></script>
<span id="c"></span> until some random crap occurs
JavaScript
$(function() {
someDate = new Date();
someDate.setSeconds(86400); // one hour in the future
$("#c").countdown({
until: someDate,
compact: true
});
});