Could you please explain me that how to create a component.js file and what is the use of this js file?
Kindly share your views here, thanks in advance.
It is used to create your component for your UI5 project. It is something similar to that of component controller in Webdynpro ABAP. You can create the component with file extension JS or JSON. It contains the metadata and configuration information and routing information and it creates the face for your application by extending faceless component sap.ui.core.UIComponent. It forms the component part of your MVC architecture in general.
Sign up for STechies
All the site contents are Copyright © www.stechies.com and the content authors. All rights reserved.
All product names are trademarks of their respective companies. The site www.stechies.com is in no way affiliated with SAP AG.
Every effort is made to ensure the content integrity. Information used on this site is at your own risk.
The content on this site may not be reproduced or redistributed without the express written permission of
www.stechies.com or the content authors.