title: How do you import a javascript package from a cdn/script tag in React?
body: <p>I'd like to import this javascript package in React</p>
  
  <pre><code>&lt;script src="https://cdn.dwolla.com/1/dwolla.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>However, there is no NPM package, so I can't import it as such:</p>
  
  <pre><code>import dwolla from 'dwolla'
  </code></pre>
  
  <p>or</p>
  
  <pre><code>import dwolla from 'https://cdn.dwolla.com/1/dwolla.js'
  </code></pre>
  
  <p>so whenver I try</p>
  
  <pre><code>dwolla.configure(...)
  </code></pre>
  
  <p>I get an error saying that dwolla is undefined. How do I solve this?</p>
  
  <p>Thanks</p>