Replies: 1 comment 1 reply
-
using suspense for data fetching is different from using suspense for code splitting as far as I'm aware. what we do when |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Does someone know if it possible to use
@loadable/component
withreact-query
instead of Suspense and lazy? I am using GatsbyJS and I am not able to use Suspense and so on, so I switched to@loadable/component
, but I thinkQueryClientProvider
is looking for a Suspense component as children ifsuspense: true
inQueryClient
and it does not recognize a component imported with @loadable/component. If I switch back Suspense and lazy all run smooth in dev environment (not on production of course), so I think I did not something wrong withreact-query
.Thanks.
Beta Was this translation helpful? Give feedback.
All reactions