How to access variable in React.js component class
<p>If I have </p>

<pre><code>const stateData = [
{
    'id': 'AL',
    'name': 'Alabama',
    'capital': 'Montgomery',
    'date': 'December 14, 1819'
}, 
{
    'id': 'AK',
    'name': 'Alaska',
    'capital': 'Juneau',
    'date': 'January 3, 1959'
}];

const SearchBarAndResults = React.createClass({
  render() {
    // QUESTION: how do I access variable stateData here and replace field
    // from 'id': 'AL' to 'id': 'AK'?
  }
});
</code></pre>