this.getOwnerComponent().getComponentData() vs. this.getOwnerComponent().getAppComponent().getComponentData()

Just find difference between these two ways.
If in a general UI5 app, this.getOwnerComponent().getComponentData() is the correct way to fecth startup parameters.
But in a FE app, this.getOwnerComponent().getAppComponent().getComponentData() is the correct one.

Comments