In my UI5 app, I have a view with a table (sap.m.Table), populated by data coming from the back-end at onInit hook. The problem is that onInit is e
Question #3:
patternMatched is going to get hit when your router is matched on the URL or on the router.navTo method.
routeMatched is going to get hit on the same occasion as patternMatched and when its child routes get navigated to.
Imagine, you have a master view on route A and it’s detail on route B. If the user navigates directly to route B, it makes sense to render the target associated to route B and also the target associated to route A.
To conclude:
patternMatched: direct route match
routeMatched:
nestedRoute parameter is set with the instance of nested route.