Skip to content

How to use suspense with urql? #1651

Answered by JoviDeCroock
quinn asked this question in Q&A
Discussion options

You must be logged in to vote

The usage on the client is pretty in line with the lazy concept. You initialize the Client with suspense: true and it will throw up to Suspense boundaries. In ssr you'll need to use a tool like react-ssr-prepass as Suspense on the server isn't supported in React yet.

SSR docs

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@quinn
Comment options

@JoviDeCroock
Comment options

Answer selected by quinn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants