leaguevine / leaguevine-ultistats

MIT License
18 stars 4 forks source link

Add a single view to list when item added to collection #65

Open cboulay opened 12 years ago

cboulay commented 12 years ago

Right now we re-render an entire list of views whenever individual items are added to a collection because it's the only way to get the individual item to render. However, this creates duplicate views for the other items (though they are not visible) and re-rendering everything is a little slow.

I've already taken a stab at getting rid of the duplicate views. See #23 I just found another solution that may be better. I will have to figure out how to insert an item in the middle of a ul but that shouldn't be too difficult.