Skip to content
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

deprecation for changing property in didInsertElement #58

Open
tsing80 opened this issue Mar 22, 2018 · 0 comments
Open

deprecation for changing property in didInsertElement #58

tsing80 opened this issue Mar 22, 2018 · 0 comments

Comments

@tsing80
Copy link

tsing80 commented Mar 22, 2018

The following deprecation is trigger when using ember-cli-datepicker addon:
A property of <myapp@view:-outlet::ember4071> 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 is triggered after https://github.com/wesm87/ember-datepicker/blob/master/addon/components/date-picker.js#L174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant