JSFiddle - React, Tailwind, and code Playground
HTML
<script src="momentjs"></script>
<span class="timer" datetime="2:20"></span>
JavaScript
var date = moment().format("LT");
(function update_time(){
$('.timer').text($('.timer').attr("datetime"));
setTimeout(update_time, 1000);
})();