Is it a good idea to Blaze.remove templates rendered using Blaze.render and Blaze.renderWithData?


#1

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?


#2

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.