mbest/knockout — Issue #1: independent binding handlers
Author: mbest
Created: 2011-12-17 01:36:12+00:00
State: open

An element can include multiple bindings. Often an element will include a combination of lightweight and heavyweight bindings. The former include visible, css, enable, attr. The latter include template, options, html. Currently the dependencies of all bindings for an element are linked; thus an update to the dependency for one binding will update all bindings. This negatively affects performance when only a lightweight binding needed updating, but the heavyweight binding was also updated.

I propose that bindings should be independent of each other unless there's a specific dependency specified (for example, value and selectedOptions are dependent on options).