This avoids reloading and re-rendering unnecessarily. This is particularly
useful if you have nested routers where the inner router handles lower url
segments and the wrapper handles upper fragments, ie:
Without this change, navigating between user pages will cause the
outer route to activate, followed by the inner route. With this change,
navigating between user pages will only trigger the inner routes, and skip
re-rendering the containing user-page.html.
This avoids reloading and re-rendering unnecessarily. This is particularly useful if you have nested routers where the inner router handles lower url segments and the wrapper handles upper fragments, ie:
user-page.html:
Without this change, navigating between user pages will cause the
outer
route to activate, followed by theinner
route. With this change, navigating between user pages will only trigger theinner
routes, and skip re-rendering the containinguser-page.html
.