Smart shutdown / re-rendering with particles does not postpone partial parts

Here's the fiddle (sorry for the warnings) http://jsfiddle.net/PCcqJ/92/

var ractive = new Ractive({ template: '#templateOne', partials: { aPartial: '<div>Oh look, the partial is rendered!</div>' } }); function cb() { alert('but now we unrender'); ractive.once('complete', function() { alert('we rendered again, and now you can\'t see the partial content'); }); ractive.render('container'); } ractive.render('container'); ractive.once('complete', function() { alert('so we render the first time, and you can see the partial'); ractive.unrender().then(cb); }); 

Partially, it is not possible to re-display here. Why is this? Particles are still in the partials object, and they were unallocated, and what would prevent them from getting visualization again?

This fiddle displays, cancels, and then re-displays, giving you a warning every time one of these events occurs.

+6
source share

All Articles