title: What's the '@' (at symbol) in the Redux @connect decorator?
body: <p>I am learning Redux with React and stumbled upon this code. I am not sure if it is <a href="https://rackt.github.io/redux/index.html">Redux</a> specific or not, but I have seen the following code snippet in one of the examples.</p>
  
  <pre><code>@connect((state) =&gt; {
    return {
      key: state.a.b
    };
  })
  </code></pre>
  
  <p>While the functionality of <code>connect</code> is pretty straightforward, but I don't understand the <code>@</code> before <code>connect</code>. It isn't even a JavaScript operator if I am not wrong.</p>
  
  <p>Can someone explain please what is this and why is it used?</p>
  
  <p>Update: </p>
  
  <p>It is in fact a part of <a href="https://github.com/rackt/react-redux"><code>react-redux</code></a> which is used to connects a React component to a Redux store.</p>