Closed idesignpixels closed 7 years ago
You are missing a return
in the render
function of CollectionList
:
{this.props.list.map(listItem => {
<li>{listItem.text}</li>
})}
should be
{this.props.list.map(listItem => {
return <li>{listItem.text}</li>
})}
Gah how embarrassing, thank you.
Meteor version 1.4.4.1 react-meteor-data version 0.2.9
There seems to be a problem passing the props returned by the container object to the component. The new props are received but not updated.
Here is a link to a sample repo https://github.com/Lindstrom1989/meteor-react-data-issue