-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
it seems like you’re making use of streaming by sending the promise from the server to the client. With this approach, the query on the client picks up the promise from the server. If it fails, retries apply. the options taken into account here are the ones from when the query was created via hydration, not the one from to set those options ( |
Beta Was this translation helpful? Give feedback.



it seems like you’re making use of streaming by sending the promise from the server to the client. With this approach, the query on the client picks up the promise from the server. If it fails, retries apply.
the options taken into account here are the ones from when the query was created via hydration, not the one from
useQuerysince we can’t know if and whene the query that gets sent from the server will be picked up on the client, and we also don’t know which options will be applied then.to set those options (
retry: falseis likely the one that matters) you can either set a global default on thequeryClient, or set it for hydration only on theHydrationBoundarywith: