Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve manifest information #93

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

margopolo
Copy link
Contributor

Fix terminology, update information on relation between manifest version and OpenUI5 version.

@margopolo margopolo requested a review from silkearians December 5, 2024 10:51
@margopolo margopolo requested review from Thodd and H4ze and removed request for silkearians December 13, 2024 16:25

> 📌 **Important:** <br>
> Make sure that you don't load too many dependencies. In most apps it's enough to load the libraries sap.ui.core and sap.m by default, and add additional libraries only when needed.
> It is crucial to be mindful of the lazy loading configuration for libraries. Only libraries that are absolutely necessary for your component to start should be declared with `"lazy": false`. For libraries that are not required immediately, it is recommended to override the default setting and set `"lazy": true`. This approach allows for better performance and faster initial loading of the component by deferring the loading of non-essential libraries until they are actually needed.
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Should we add a link to the Lib.load documentation here?

maybe something like this?

Before using a library marked with "lazy": true, you need to ensure that it is loaded by calling the asynchronous Lib.load API. A usage example can be found in the linked API reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants