You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: