tbranyen/backbone.layoutmanager — Issue #18: Re-rendering a single subview
Author: searls
Created: 2011-12-09 02:43:22+00:00
State: open

Often when a view's model changes, I want to trigger a re-render of that view, but not of my entire layout.

Is this possible with backbone.layoutmanager?

I'd naïvely assumed I could get away with:

``` javascript
model.bind('change',view.render)
```

But, of course, when `view.render` is called back, it won't receive a layout as an argument and an exception will be thrown.