tbranyen/backbone.layoutmanager — Issue #52: Nested Views are being re-rendered for each level of sub-nesting
Author: tvpmb
Created: 2012-02-22 02:32:42+00:00
State: open

The problem we're experiencing is hard to describe, but I'll try. For each nested level of views, render is getting called.

```
views: {
'#id1': new Views.View1({
'#id11': new Views.View11({
#'id111': new Views.View111
})
})
}
```
In this example, View111 would get called to render 3 times, perhaps this is because each parent render's everything underneath itself.

This is sort of the best way I can describe the behavior. Its easy to track actually because I can console.log the amount of models in the collection. In our app, I see in the logs 0, 0, 0, 1 which corresponds to each nested level of views and the final main `view.render();` that renders the entire application.

Hit me up if you want to troubleshoot or ask questions.