lets say i have a testfunction written in reactjs just before the rendering, in the index.js file
function testfunction(){
console.log("this is test function written in reactjs")
}
and i want to call the above reactjs function in html script.
<html>
<body>
//including reactjs minified js in the index.html
<script src="reactjs.min.js"></script>
<script>
//here i want to call function written in reactjs file
testfunction();
</script>
</body>
</html>