I have wrote a very basic video game in pure javascript (no framework).
This video game is composed of a .js file and a very basic html page which contains:
<script src="js/mygame.js"></script>
<script>
$(function() { Game.run() });
</script>
<canvas id="game_zone"></canvas>
I want to embed this game in a script reactjs application.
I have tried to put a script tag in rendering return but the script is not loaded.
How should i do ?
Thanks a lot