-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Links apathetic to active don't subscribe (#3985) #3986
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
Conversation
I did not include any tests because I am not sure exactly how to test this. There shouldn't be any differences in the DOM and I don't believe that there is a way to access the number of subscribers that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs a test case.
Looks like this would obviate #3896, no? |
Added tests. I'm not crazy about the |
tim it first checks if we even care about being active, which is the only
|
LGTM. @ryanflorence let me know if you want to add this or not. |
I'm going to merge this, but I intend to refactor it a bit right after, so I'm not going to merge until then. |
rebased |
Still LGTM 😛 |
When a
<Link>
doesn't need to know about the current location, its<a>
does not need to be wrapped with a<LocationSubscriber>
.#3985