title: ReactJS importing modules via cdn
body: <p>I've started working on a project with uses ReactJS that I'm new to and I don't  understand the structure of the React components, it doesn't look like most examples I find in tutorials. This is pretty much what I got from the structure now:</p>
  
  <p>React are loaded via downloaded javascripts in html file:</p>
  
  <pre class="lang-js prettyprint-override"><code>&lt;script src="vendor/babel.min.js"&gt;&lt;/script&gt;
  &lt;script src="vendor/react.production.min.js"&gt;&lt;/script&gt;
  &lt;script src="vendor/react-dom.production.min.js"&gt;&lt;/script&gt;
  &lt;script src="vendor/reactstrap.min.js"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>A typical component in the project looks like this:</p>
  
  <pre class="lang-js prettyprint-override"><code>export default class ExamplePage extends React.Component {
    constructor(props) {
      super(props);
      this.state = {};
    }
  
    render() {
      return &lt;p&gt;Example page&lt;/p&gt;
    }
  }
  </code></pre>
  
  <p>From most examples I see in tutorials, they start with:</p>
  
  <pre class="lang-js prettyprint-override"><code>import React from 'react';
  </code></pre>
  
  <p>Why is that not needed here? There is also no package.json file from npm to be found in the project at all, just a vendor map with all of the libraries used.</p>
  
  <p>Further on, I now would like to use the Input component from reactstrap, so I downloaded it from cdn:</p>
  
  <p><a href="https://cdnjs.cloudflare.com/ajax/libs/reactstrap/4.8.0/reactstrap.min.js" rel="nofollow noreferrer">https://cdnjs.cloudflare.com/ajax/libs/reactstrap/4.8.0/reactstrap.min.js</a></p>
  
  <p>and added a reference to it similar to the first code snippet and changed render method above to:</p>
  
  <pre class="lang-js prettyprint-override"><code>render() {
      return (
        &lt;div&gt;
          &lt;p&gt;Buy orders&lt;/p&gt;
            &lt;Input type="email"
                   name="email"
                   className="border-right-0"
                   placeholder="Enter email"/&gt;
        &lt;/div&gt;
      )
    }
  </code></pre>
  
  <p>But I'm getting "Input is not defined" in console output once it runs, it obviously can't find the component.</p>