title: How integrate jQuery plugin in React
body: <p>I want to use <a href="https://github.com/t1m0n/air-datepicker" rel="noreferrer">https://github.com/t1m0n/air-datepicker</a> with in a React app, but it doesn't work.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import React from 'react';
  import AirDatepicker from 'air-datepicker';
  
  class Datepicker extends React.Component {
    render() {
      return(
        &lt;AirDatepicker /&gt;
      )
    }
  }
  
  export default Datepicker;
  `</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="./../bower_components/jquery/dist/jquery.min.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>This produces:</p>
  
  <pre><code>error($ is not defined)
  </code></pre>
  
  <p>Another approach:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>import React from 'react';
  import $ from 'jquery';
  import AirDatepicker from 'air-datepicker';
  
  class Datepicker extends React.Component {
    render() {
      return(
        &lt;AirDatepicker /&gt;
      )
    }
  }
  
  export default Datepicker;</code></pre>
  </div>
  </div>
  </p>
  
  <p>Same error.</p>
  
  <p>How can I integrate a jQuery plugin with React?</p>