My code is something like this
var data = [
{id: 1, taskName: \"Pete Hunt\", standarDescription: \"This is one comment\", emplComment: \"meaaow I am meeawo\"
React component must have only one root node., as you are using ExampleTableforbasictaskList
inside table
you need wrap commentNodes
in ., also inside
Tableforbasictask
move TableforbasictaskForm
from table
var TableforbasictaskList = React.createClass({
render: function() {
// .....
return ({commentNodes});
}
});
var Tableforbasictask = React.createClass({
render: function() {
return
Task Name
Standard Discription of Task
Employee Comment
Employee rating