It was unexpected when we started with Aurelia, which if.binddoes not destroy the child view / viewModel. It goes through a bound / untied attached / disconnected loop, and I see how this makes sense for some scenarios. But I would also like to completely destroy the view / viewModel and recreate it from scratch. I created a plunker that demonstrates my best efforts using if.bind. I am looking for suggestions on how to have <my-other-element> completely destroyed. Thank!
source
share