I'm working on a photo gallery with pagination. As you go through pages, I'm removing and adding DOM elements. Using delegate would be great, but I don't know if the event listeners will be automatically removed when I destroy the dom nodes with listeners. I don't see anything in the documentation that says either way, and using undelegate everytime I change the dom kind of defeats the purpose of delegate.
The reason for this question is this could be a huge memory leak if a user spent any amount of time on the page if the event listeners are kept around after the DOM nodes are destroyed.