title: accessing variable from script tag in html file in react component
body: <p>I've only started working on javascript and React.js recently. I currently have a few script tags in my main.html file, and I need to be able to access some variables from these tags in my React.js components. Is there anyway to do this?</p>