erikringsmuth / app-router

Router for Web Components
https://erikringsmuth.github.io/app-router/
MIT License
610 stars 83 forks source link

Search for nodes recursively. #143

Closed panuhorsmalahti closed 3 years ago

panuhorsmalahti commented 8 years ago

This fixes issue #142.

This is not a breaking change and doesn't cause a performance loss. The change is basically to search the DOM tree instead of only searching through the immediate children of app-router. Now you can create wrapper components for the app-route component, which is necessary for my use case of extending the app-route definition by e.g. adding authorization information.