Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Add asynchronous variant for uiRegistry component in uiRegistry topic #7656

@ihor-sviziev

Description

@ihor-sviziev

General issue

Description:

This page is showing only synchronous variant of using uiRegistry component, while it's not good from performance perspective. In the JS file we have exampe how to retrieve any component using async variant: https://github.com/magento/magento2/blob/9544fb243d5848a497d4ea7b88e08609376ac39e/app/code/Magento/Ui/view/base/web/js/lib/registry/registry.js#L342-L346

Possible solutions:

Add information about async way of retrieving ui components from registry and mark it as recommended.

Additional information:

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions