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

Use didRender in x-option #53

Merged
merged 1 commit into from
Aug 11, 2015

Conversation

seanpdoyle
Copy link
Contributor

According to the ember 1.13.0 release notes, didRender will
be called after the element is inserted.

This makes manually scheduling code to the afterRender queue obsolete.

DEPRECATION: A property of <my-app@view:-outlet::ember547> was modified
inside the `didInsertElement` hook. You should never change properties
on components, services or models during `didInsertElement` because
it causes significant performance degradation.

According to the [ember 1.13.0][ember] release notes, `didRender` will
be called after the element is inserted.

This makes manually scheduling code to the `afterRender` queue obsolete.

```
DEPRECATION: A property of <my-app@view:-outlet::ember547> was modified
inside the `didInsertElement` hook. You should never change properties
on components, services or models during `didInsertElement` because
it causes significant performance degradation.
```

[ember]: http://emberjs.com/blog/2015/06/12/ember-1-13-0-released.html
@jonkoops
Copy link

jonkoops commented Aug 6, 2015

+1 to merge this, this should resolve the deprecation messages Ember 1.13+ users have been experiencing.

@cowboyd
Copy link
Collaborator

cowboyd commented Aug 10, 2015

@Robdel12 has this been fixed already in the 2.0 target branch?

@Robdel12
Copy link
Collaborator

Err, I think this is good. We just have to make sure once this is merged we're done with anything that isn't glimmer.

Robdel12 added a commit that referenced this pull request Aug 11, 2015
@Robdel12 Robdel12 merged commit fd428f5 into adopted-ember-addons:master Aug 11, 2015
@seanpdoyle seanpdoyle deleted the sd-deprecations branch August 11, 2015 16:10
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

Successfully merging this pull request may close these issues.

4 participants