MCQs > IT & Programming > Meteor - JavaScript Web Framework >

What could be the reason the client couldn't render the author name for the below sample code? Meteor.publish(

Meteor - JavaScript Web Framework MCQs

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}}) ]; })

Answer

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

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Meteor - JavaScript Web Framework Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it