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

Unbinding #19

Open
thejohnfreeman opened this issue May 15, 2012 · 0 comments
Open

Unbinding #19

thejohnfreeman opened this issue May 15, 2012 · 0 comments

Comments

@thejohnfreeman
Copy link
Member

Binders that remove elements from the DOM should unbind those elements instead of expecting them to unbind the next time they are notified, which adds unnecessary work to the common case of living subscriptions.

I believe this will let the if binder bind simply once, instead of destroying, re-creating, and re-binding DOM nodes every time the if-bound value changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant