I am using Blaze.render
and Blaze.renderWithData
to display content inside jQuery dialog. Is there any performance advantage to keep reference to the view and Blaze.remove
that view or emptying dialog box’s contents is enough?
I’m guessing that if you just remove the dialog content, you won’t stop any template level subscriptions, reactive vars or trackers declared on that template so they’ll still run in the background. But remove
should do it using programmer's common sense
.