Turn off notifications for Meteor collections -
how tell meteor stop publishing changes on collection (for moment)? how tell resume , collection changed?
basically (on server):
people = new meteor.collection("people") insertpeople = -> // don't notify clients of following changes // insert bunch of people people collection // resume notifications
put flag in each document, 'updating'. add new ones set true; render template css class hides them based on field. when ready, update collection updating: false. visible pretty quickly.
this being said, there events can plug make transitions more pleasant/animated. didn't think asking that, may better answer.
to comment: inserting template additional document triggers dom changes, expensive, , device has figure out how display. updating property requires second part, device has figure out how display.
Comments
Post a Comment