strange behaviour with next-urql and ssr #1136
-
When I do a full page load I can see my loading state and I can see the network request in devtools, as this is a full page refresh shouldn't this be run on the server and not visible in devtools? To make things weird when I view page source I can see the results of the query in the html markup as if the queries were ran on the server. I checked the server logs and it only ran the query once. I'm using Here's my repo: https://github.com/addstar34/next-urql I tried to find a public graphql api to make it easy for others to pull down and test but no luck. So, to use in For convenience here's
page with the query
I'm using the latest versions of all dependencies:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey, This PR aims at fixing your issue, the csb-run will soon have a package that you can try out on your branch. I checked your repo and it seems to work correctly but it would be awesome if you'd double check. Installable by: "urql": "https://pkg.csb.dev/FormidableLabs/urql/commit/20bed312/urql" EDIT: this has been published on |
Beta Was this translation helpful? Give feedback.
Hey,
This PR aims at fixing your issue, the csb-run will soon have a package that you can try out on your branch. I checked your repo and it seems to work correctly but it would be awesome if you'd double check.
Installable by:
EDIT: this has been published on
urql@1.11.1