Check out example codes for "bind script html". It will help you in understanding the concepts better.
Code Example 1
<html>
<head>
<script type="text/javascript" src="/path/to/script.js"></script>
...
Learn ReactJs, React Native from akashmittal.com