rivets icon indicating copy to clipboard operation
rivets copied to clipboard

Add a spec that shows how each-* breaks updates on the root model.

Open eigood opened this issue 9 years ago • 0 comments

each-* copies the model referenced in the binding/view; when doing so, the event listeners attached that model are lost. As such, if the base model gets updated, the clone of the model in each-* doesn't see the changes.

My suggested fix is to add a "clone" method to the adapter.

There are other similar issues in the View class, but those aren't exposed with this spec.

eigood avatar Jun 06 '16 21:06 eigood