Hi, I am having some trouble implementing the tutorial to my own project. My problem is that I can’t figure out how to use the “Tasks.find({}).fetch()” in a situation where I don’t have the “Task:” before it like in the tutorial. For example how could I just console.log the output of it, I tried doing this by creating a render() function in the export default withTracker class, but this did not work. I feel like the answer to this is very obvious but i can’t figure it out since I’m very new to Meteor, React JS and MongoDB.
withTracker is a wrapped around a component. It wraps your component with a component that tracks data, and re-renders your component when that data changes.
Anything you return from the withTracker callback will be passed into your component as a prop. So returning { fractals: fractals } would pass fractals as a prop into your component.