HN user

philipthrasher

17 karma
Posts4
Comments5
View on HN

Your collection view should render multiple item views. You pass the model instance to each item view, and then the view handles all the event bindings, and the model is scoped to `this`

EDIT: This way if you update that one model, you're only calling one view's render method. Each view sets up it's own bindings, and when the view is removed, it can remove just the bindings on itself.