Lazy components description and its attributes details

What is it?

The Lazy Component is used when a BFF asynchronous request is made.

See how the structure is represented:

pathStringURL that makes the request.
initialStateServerDrivenComponentServer-driven component that is showed when there is an asynchronous request being done.

How to use it?

    path = "button.kt",
    initialState = Text("Loading the screen, please wait", alignment = TextAlignment.CENTER)