These are chat archives for canjs/canjs

21st
Jun 2018
RyanMilligan
@RyanMilligan
Jun 21 2018 18:12
I'm binding the disabled property of a button to whether or not a DefineMap instance is dirty, and using canReflect.unwrap() to do the dirty checking. Unfortunately, canReflect.unwrap() doesn't seem to observe nested objects that it unwraps because changing properties on a nested list isn't refreshing the binding. Is there a comparable function I could use that will observe nested objects? Note that serialize() won't work for us because our serialize() implementation uses the same dirty checking to decide what should be serialized.