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 didReceiveAttrs (instead of willRender) in {{link-to}} #14035

Merged
merged 1 commit into from
Aug 5, 2016

Conversation

chancancode
Copy link
Member

This code only need to run when the arguments/attrs change, not before every re-render. At least on the Glimmer side, the latter run more often than the first, so this is unnecessarily doing a bunch of extra work, invalidating expensive CPs, etc.

This code only need to run when the arguments/attrs change, not before
every re-render. At least on the Glimmer side, the latter run more often
than the first, so this is unnecessarily doing a bunch of extra work,
invalidating expensive CPs, etc.
@rwjblue rwjblue merged commit 85a8acd into master Aug 5, 2016
@rwjblue rwjblue deleted the rm-link-to-will-render branch August 5, 2016 21:09
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.

2 participants