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

Which of the following is the correct way to publish and subscribe to posts?

Meteor - JavaScript Web Framework MCQs

Which of the following is the correct way to publish and subscribe to posts?

Answer

Correct Answer: In /server folder add a .js file containing: Meteor.publish('posts', function() { return Posts.find(); }); In /client folder add a .js file containing: Meteor.subscribe('posts');

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