Skip to content

Multiple async dependendants #82

Open
@innovate-invent

Description

@innovate-invent

I have a situation where I have a hierarchy of components that all have to wait on the same asynchronous event. Currently I am forgoing reactive functionality and passing a promise as a prop to each child. All components wait on the promise and return the result using an async-computed property.

The only means of retaining the reactive functionality is to have the root node own the async-computed and pass the result as a prop to its children. This means that I have to have a null check everywhere I access the result and means I can't have component specific defaults.

It would be great if there was some way to forward the promise while retaining reactive functionality.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions