Closed sarimabbas closed 3 years ago
Weird, could you reproduce on codesandbox?
I have tried but not been able to produce deterministically on CodeSandbox. I am using a workaround where I revalidate after mount and that seems to work fine. So I will close this issue for now. Thank you for your help!
@nandorojo
https://swr.vercel.app/docs/conditional-fetching
In my environment, this problem occurs when I use Conditional Fetching
.
I have tried but not been able to produce deterministically on CodeSandbox. I am using a workaround where I revalidate after mount and that seems to work fine. So I will close this issue for now. Thank you for your help!
@sarimabbas I can't get the data to refresh on Android, did it work in your environment?
Hello, thank you for this lib!
I am running into some strange behavior where
useCollection
returns an empty array on mount (but fetches successfully on subsequent renders or when callingrevalidate
).My dependencies:
My code:
I would appreciate any insight or help in this matter. Thank you!