title: How do I add an item to the front of a state array in React
body: <p>I know that you can add items to the end of the array with <code>concat</code> but how do I unshift to add an item to the front? </p>
  
  <p>Add to the end:</p>
  
  <pre><code>var allStatuses = this.state.statusData;
  var newStatuses = allStatuses.concat([data.statuses]);
  this.setState({statusData: newStatuses});
  </code></pre>
  
  <p>What I want to do is change the "concat" to something that will put data.statuses to the front and not the end.</p>