-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUGFIX beta] [PERF] Cleanup Proxy #15150
Conversation
@@ -141,6 +135,8 @@ export default Mixin.create({ | |||
!this.isController, | |||
{ id: 'ember-runtime.controller-proxy', until: '3.0.0' } | |||
); | |||
return set(content, key, value); | |||
let ret = set(content, key, value); | |||
tagFor(this).contentDidChange(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this just be m._tag.contentDidChange
since it is looked up at the start of setUnknownProperty
?
fa57f34
to
f0ecedc
Compare
looks good |
test failures:
|
In chrome (for prod builds) i get a very different set of failures... Strange. |
f0ecedc
to
5480e49
Compare
@krisselden I took the approach your recommended instead. And noticed some other related redundant codez. |
5480e49
to
3915ab4
Compare
@krisselden stuff is green, this is ready for your 👀 |
update to bug fix beta (get on todays beta) |
3915ab4
to
b88afee
Compare
* remove `on(‘init`, just use the existing `init` * remove redundant meta lookups * remove observer (notify proxy change from a unified place, within markObjectAsDirty) * remove double `tag` lookups * remove redundant meta guards * misc cleanup
b88afee
to
b45ee9d
Compare
on(‘init
, just use the existinginit
tag
lookups