ember-react icon indicating copy to clipboard operation
ember-react copied to clipboard

Updating bindings

Open SohumB opened this issue 9 years ago • 0 comments

Hey,

So I pulled down ember-react to experiment in our ember application, and as of ember 1.11.3 at least the assumption that setUnknownProperty is called whenever a property changes doesn't seem to be valid.

This is the diff that gave us updating values on our codebase, but I freely admit there may be cases I haven't thought of. I'm happy to tweak and fix as necessary!

Also, I'd love to open up a discussion about what to do about arrays or even just objects that have underlying parts of them mutated (like binding person to react, but then person.set('name', 'Edward')). Those changes do not seem to flow through, at the moment.

Cheers!

SohumB avatar May 22 '15 06:05 SohumB