JSFiddle - React, Tailwind, and code Playground
HTML
<div id="screen">
<div id="screen2" style="width:250px; height: 100px; border:1px solid #000; color:#000;">
hhh
</div>
</div>
JavaScript
$(window).load(function(){
setInterval(function(){
$("#screen").load('#screen2').fadeIn('slow');
}, 2000);
});