title: jQuery is not working in React
body: <p>I want to use simplyScroll jquery in my react app. I added its CSS and jquery file in my index.html file. I also wrote below code before ending body tag but its not working.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
    (function ($){
      $(function (){
        $("#scroller").simplyScroll();
      });
    })(jQuery);
  &lt;/script&gt;
  </code></pre>
  
  <p>If I run <code>$("#scroller").simplyScroll();</code> in browser's console slider is working fine even if I go back and come to the current page its working.
  Can someone help me on this or suggest better way to implement in react.  </p>