Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhacement: Not render complete list when a new item is added #65

Closed
ecentinela opened this issue Jul 4, 2012 · 2 comments
Closed

Enhacement: Not render complete list when a new item is added #65

ecentinela opened this issue Jul 4, 2012 · 2 comments

Comments

@ecentinela
Copy link

Actually, when using live binding with list.each, the list is completely rendered every time a new element is added/removed.
This is quite expensive when using live binding with large collections.

I'm missing some other way to do this?

Thank you.

@justinbmeyer
Copy link
Contributor

Yes, listen to add/remove events and insert/remove. There's no way to do this with live binding.

Sent from my iPhone

On Jul 4, 2012, at 6:48 AM, Javier Martinez Fernandezreply@reply.github.com wrote:

Actually, when using live binding with list.each, the list is completely rendered every time a new element is added/removed.
This is quite expensive when using live binding with large collections.

I'm missing some other way to do this?

Thank you.


Reply to this email directly or view it on GitHub:
#65

@justinbmeyer
Copy link
Contributor

I'm going to close this. I think we'll create a list widget in CanUI that does exactly this.

WearyMonkey pushed a commit to WearyMonkey/canjs that referenced this issue Dec 31, 2012
bugfix Model, Model store and test.  I need to update the formatting.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants