/** @jsx React.DOM */ var TrafficTable = React.createClass({ getInitialState: function () { return { flows: [] }; }, componentDidMount: function () { //this.flowStore = FlowStore.getView(); //this.flowStore.addListener("change",this.onFlowChange); }, componentWillUnmount: function () { //this.flowStore.removeListener("change",this.onFlowChange); //this.flowStore.close(); }, onFlowChange: function () { this.setState({ //flows: this.flowStore.getAll() }); }, render: function () { /*var flows = this.state.flows.map(function(flow){ return