render() {
return (
<div>
{this.props.data.map(row => JSON.stringify(row)).join(<br/>)}
</div>
)
}
is rendered as [object Object] instead of newline. How do I do this? Is there an other way than dangerouslySetInnerHTML={{<br/>}} to achieve this? More like a template for loop?