So I noticed my application getting slow after some extended usage. Particularly when I create many views that are each items in a long list. I had thought that by removing these views with view.remove() would help remedy the problem but while they are removed from the page, I noticed that Chrome's Timeline shows that my DOM Node Count does not reduce. Each view I add continues to grow this count. As a matter of fact, the only thing that seems to reduce this Node Count is a page refresh.
This doesn't feel right to me and I feel like I messed up something really elementary since the problem seems to occur with all my views and not just these ones. It just happens much quicker with these view lists since there are so many of them.
Does anyone have any suggestions as to what I should be looking for? What kind of causes can produce this behavior?
I'd provide code but I don't know what would be helpful.
TL;DR - View.remove() is removing the view from the page, but my DOM Node Count continues to go up and never comes down.