Suspense with NExtjs app router #2645
Unanswered
spacepolice10
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there,
For some reason, when I use suspense mode in useSWR, I encounter the error that asks me to provide fallbackData even though I placed 'use client' tag in my Next.js components (implying that I don't use SSR) and want to see loading skeleton when there's no data from SWR. I don't want to put there fake data. Is there a way to avoid this error?
Beta Was this translation helpful? Give feedback.
All reactions