JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE html>
<html>
<body onLoad="myFunction()">
<input id="textField" value="" />
<script>
var myVar;
function myFunction()
{
myVar=setTimeout(function(){ document.getElementById('textField').value='Nonononononono';
},10000);
}
</script>
</body>
</html>