You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEPRECATION: A property of <in-control@view:-outlet::ember387> was modified inside the didInsertElement hook. You should never change properties on components, services or models during didInsertElement because it causes significant performance degradation. [deprecation id: ember-views.dispatching-modify-property]
This seems to be caused by this in proxiable-mixin.js:
I'm rather new to Ember and ember-paper, so I don't have a suggestion for how to address this. Maybe there is there a way to defer this until after didInsertElement without compromising proper functioning?
The text was updated successfully, but these errors were encountered:
You may be correct, but this still open issue (emberjs/ember.js/issues/11505) from June of 2015 indicates that the warning links to the wrong view and always blames the didInsertElement hook when it could be any code that changes component state during render of a component.
In Kris Selden's example he uses the didRender hook but the deprecation warning is still the same. This is on the deprecation documentation todo list (emberjs/ember.js/issues/12290 -> emberjs/website/issues/2256) so if you learn a great deal about it you could perhaps land a PR for the ember website deprecation guide or even ember itself. Hope this saves you some spelunking.
Using Ember 2.1.0, I receive:
This seems to be caused by this in proxiable-mixin.js:
I'm rather new to Ember and ember-paper, so I don't have a suggestion for how to address this. Maybe there is there a way to defer this until after didInsertElement without compromising proper functioning?
The text was updated successfully, but these errors were encountered: