title: How to use Semantic UI modules in React?
body: <p>I can't seem to make semantic ui work inside React component. JQuery is working properly. But semantic accordion doesn't respond to click event.</p>
  
  <pre><code>import React, { Component } from 'react'
  import 'semantic-ui/dist/semantic.min.css'
  
  import $ from 'jquery'
  import jQuery  from 'jquery'
  window.jQuery = jQuery
  import 'semantic-ui/dist/semantic.min.js'
  
  export default class App extends Component{
    render(){
      return(
        &lt;div&gt;
          &lt;h1&gt;Hello, React!&lt;/h1&gt;
            &lt;div className="ui slider checkbox"&gt;
              &lt;input type="checkbox" name="newsletter" /&gt;
              &lt;label&gt;Accept terms and conditions&lt;/label&gt;
            &lt;/div&gt;
            &lt;div className="ui styled accordion"&gt;
    &lt;div className="active title"&gt;
      &lt;i className="dropdown icon"&gt;&lt;/i&gt;
      What is a dog?
    &lt;/div&gt;
    &lt;div className="active content"&gt;
      &lt;p&gt;A dog is a type of domesticated animal. Known for its loyalty and faithfulness, it can be found as a welcome guest in many households across the world.&lt;/p&gt;
    &lt;/div&gt;
    &lt;div className="title"&gt;
      &lt;i className="dropdown icon"&gt;&lt;/i&gt;
      What kinds of dogs are there?
    &lt;/div&gt;
    &lt;div className="content"&gt;
      &lt;p&gt;There are many breeds of dogs. Each breed varies in size and temperament. Owners often select a breed of dog that they find to be compatible with their own lifestyle and desires from a companion.&lt;/p&gt;
    &lt;/div&gt;
    &lt;div className="title"&gt;
      &lt;i className="dropdown icon"&gt;&lt;/i&gt;
      How do you acquire a dog?
    &lt;/div&gt;
    &lt;div className="content"&gt;
      &lt;p&gt;Three common ways for a prospective owner to acquire a dog is from pet shops, private owners, or shelters.&lt;/p&gt;
      &lt;p&gt;A pet shop may be the most convenient way to buy a dog. Buying a dog from a private owner allows you to assess the pedigree and upbringing of your dog before choosing to take it home. Lastly, finding your dog from a shelter, helps give a good home to a dog who may not find one so readily.&lt;/p&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  
        &lt;/div&gt;
      )
    }
  }
  </code></pre>