-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
Description
Which component is affected?
Qwik Runtime
Describe the bug
I am trying to use useAsync, when I try and use a loading state, and afterwards using the value once ready, Im seeing errors and broken behavior.
Thanks
Reproduction
Steps to reproduce
Enter the repro link, see the error ;)
System Info
- v2 playground info.Additional Information
On another note:
I also noticed that the useAsync is awaited in SSR. doesnt it beat the point of .loading?
shouldnt it "stream" the promise to the client and once ready, apply the result in the client?
If its awaited on the server in any case, is the .loading only for useAsync that retriggers in the client-side?
Reactions are currently unavailable