Skip to content

Conversation

rurri
Copy link

@rurri rurri commented May 4, 2015

In order to make supporting elements, access to the app-router events is needed. Sending core-signal events allows elements that are ignorant of the rest of the application still respond meaningfully to these events.

This is needed for elements such as page tracking, comment plug-ins where the provider requires a singleton call, or other sitewide changes based on route changes.

rurri added 2 commits May 4, 2015 14:23
In order to make supporting elements, access to the app-router events is needed. Sending core-signal events allows elements that are ignorant of the rest of the application still respond meaningfully to these events.

This is needed for elements such as page tracking, comment plug-ins where the provider requires a singleton call, or other sitewide changes based on route changes.
@rurri
Copy link
Author

rurri commented May 4, 2015

For an example of how this can be used:

https://github.com/rurri/app-router-analytics

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.

1 participant