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

What is wrong with the below sample code? Meteor.subscribe(

Meteor - JavaScript Web Framework MCQs

What is wrong with the below sample code? Meteor.subscribe("getCommets"); var userSubs = new SubsManager(); Template.comments.helpers({ getComments: function(){ return Comments.find(); }, author: function(){ var user = Users.findOne(this.author); if(user){ return user.name; }else{ userSubs.subscribe("getUser", this.author); } } })

Answer

Correct Answer: There will be a lot of "getUser" subscriptions just after the page loads

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