Suspense fallback not showing on React Native (Expo) with useSuspenseQuery
I've referred to the example of Suspense in https://tanstack.com/query/v5/docs/framework/react/guides/suspense, but no matter what I try, I have not been able to make the fallback of React.Suspense to appear when useSuspenseQuery is pending. Has anyone else encountered difficulty with this? Would really appreciate any help.
1 Reply
sensitive-blueOP•11mo ago
Sorry about this, seems I've just answered my own question: It won't work when it's in the _layout.tsx. Works if you place Suspense anywhere else. Interesting...