Navigate up in the path hierarchy, by going back to the first history entry
that has a shorter path than the current one. If there's none, we just shorten
the current path.
Note that going back in browser history happens asynchronously, so route will not be updated immediately.
Navigate up in the path hierarchy, by going back to the first history entry that has a shorter path than the current one. If there's none, we just shorten the current path.
Note that going back in browser history happens asynchronously, so
route
will not be updated immediately.