Integrating Suspense 1 component at a time? #3421
-
Hello, My team would like to start using Suspense to lazy load components. Is it possible to do this per query, rather than at the client level? It would make the most sense for us to start with migrating 1 query at a time to Suspense, rather than needing to migrate our entire app at once, however it does not look like |
Beta Was this translation helpful? Give feedback.
Answered by
JoviDeCroock
Oct 31, 2023
Replies: 1 comment 6 replies
-
UseQuery does in the OperationContext parameter (second one), you have to memoize this object. https://formidable.com/open-source/urql/docs/api/core/#operationcontext |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
JoviDeCroock
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UseQuery does in the OperationContext parameter (second one), you have to memoize this object. https://formidable.com/open-source/urql/docs/api/core/#operationcontext