mbest / knockout

My enhancements to Knockout
35 stars 4 forks source link

re-writing nested control flow bindings #23

Open mbest opened 11 years ago

mbest commented 11 years ago

Currently, when control-flow bindings are nested, each re-rendering of the outer binding must re-initialize the inner binding, which must re-save its "template" elements. The change here would be to do a pre-initialize, which would save the templates to a fix place and rewrite the binding to use those saved templates.