I have an issue with the renderOnServer, i the CommentList function
var commentNodes = this.props.data.map(function (comment) {
return (
React.createElement(Comment, {author: 'comment.author'}, comment.text)
);
});
comment.text raise the exception : Cannot read property "toString" from undefined
Hi David,
I have an issue with the renderOnServer, i the CommentList function var commentNodes = this.props.data.map(function (comment) { return ( React.createElement(Comment, {author: 'comment.author'}, comment.text) ); }); comment.text raise the exception : Cannot read property "toString" from undefined
Any idea ?
Thx Bruno