X Tutup
Skip to content

perf(RouterLink): use hostListeners for click#2401

Closed
PatrickJS wants to merge 1 commit intoangular:masterfrom
PatrickJS:patch-8
Closed

perf(RouterLink): use hostListeners for click#2401
PatrickJS wants to merge 1 commit intoangular:masterfrom
PatrickJS:patch-8

Conversation

@PatrickJS
Copy link
Copy Markdown
Contributor

with a <router-outlet> and lots of router-link you start to see noticeable lag

@PatrickJS PatrickJS force-pushed the patch-8 branch 2 times, most recently from c5450a1 to 64f76ac Compare June 7, 2015 21:11
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we using DOM instead of hostListeners? Then, we don't need to cancel it.

@vsavkin vsavkin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jun 8, 2015
with a `<router-outlet>` and lots of `router-link` you start to see
noticeable lag since we’re not removing the listener
@PatrickJS PatrickJS changed the title perf(RouterLink): remove listener onDestroy perf(RouterLink): use hostListeners for click Jun 10, 2015
@tbosch tbosch closed this in 92f1af8 Jun 10, 2015
@PatrickJS PatrickJS deleted the patch-8 branch June 11, 2015 07:32
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: review The PR is still awaiting reviews from at least one requested reviewer cla: yes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

X Tutup