I\'m trying to use react-force-graph library via CDN on a React functional component, but I\'m stuck with the error shown below.
Script tag on index.html :
<