-
I'll try to explain what I'm trying to do as simple as possible because I really don't know what's going on here: So I'm creating a simple I'm using Strapi which needs a
The problem arises when the Apollo Client is created, following the
If a path is SSG when I load the page I get a My paths are simple:
So in summary: I've noticed that when I SSG a path, the Apollo Client doesn't work exactly the same vs a path that was not included in the paths array. Or maybe it's because on a SSG path my Here are visuals of the And the last one, where if I click in one of the Links and I come back to the At this point I'm thinking about giving up if I can't figure out this and just use something else, maybe SSR which I really don't want to because I don't think it's necessary. Full code below:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Upon more testing I found that I needed to wait for my
|
Beta Was this translation helpful? Give feedback.
Upon more testing I found that I needed to wait for my
useUser()
function result to be returned, so I had to also useuseLazyQuery
to execute my query later whenuser
is fully loaded.