Beagle v1.6 não é mais mantida ativamente. A versão documentada que você está visualizando pode conter funcionalidades depreciadas. Para obter as funcionalidades mais recentes, consulte a nossa última versão .
O Lazy Component
é usado para carregar de forma assíncrona algum componente do BFF.
A sua estrutura é representada como mostrado abaixo:
Atributo | Tipo | Obrigatório | Definição |
---|---|---|---|
path | String | ✓ | A URL que realiza a requisição. |
initialState | ServerDrivenComponent | ✓ | Componente server driven que é apresentado enquanto uma requisição assíncrona está sendo feita. |
LazyComponent(
path = "button.kt",
initialState = Text("Loading the screen, please wait", alignment = TextAlignment.CENTER)
)
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.