How can I change the state of a React component from my old legacy jQuery soup code?
I have a component like this:
var AComponent = React.createClass({
I would make the component stateless. Store the ids array outside of your component and pass it as a prop with functions that will modify the array. See example on JSFiddle: http://jsfiddle.net/ohvco4o2/5/
ids