What options are there to bundle an external javascript sdk into a React Component?
I have tried including the javascript in the index.html and referring to it through
try something like this:
componentDidMount () { const script = document.createElement("script"); script.src = "https://cdnjs.cloudflare.com/somelibrary1.min.js"; script.async = true; document.body.appendChild(script2); }