I am new to React.js. I am trying to bind data arrays. I am looking for the equivalent of ng-repeat, but i can\'t find it inside documentation.
e.g:
var
In your render function inside a react component you can do this:
var data = ['red', 'green', 'blue']; var dataComponent = []; data.forEach(function (dataValue) { dataComponent.push( {dataValue} ); });
And now you can return the dataComponent.