What could be the reason the client couldn't render the author name for the below sample code? Meteor.publish(
What could be the reason the client couldn't render the author name for the below sample code? Meteor.publish("getComments", function(){ var comments = Comments.find(); var userIds = comments.map(function(comment){ return comment.author; }); return [ comments, Users.find({_id: {$in: userIds}}) ]; })
Correct Answer: When a new user added a comment, his user information wasn't sent to the client.
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Meteor - JavaScript Web Framework Skill Assessment
More Meteor - JavaScript Web Framework MCQ Questions
Meteor - JavaScript Web Framework Skill Assessment