ForkMeDaddy
ForkMeDaddy
Explore posts from servers
HHono
Created by ForkMeDaddy on 9/12/2024 in #help
Client Response
neat
7 replies
HHono
Created by ForkMeDaddy on 9/12/2024 in #help
Client Response
No description
7 replies
HHono
Created by ForkMeDaddy on 9/12/2024 in #help
Client Response
export const client = hc<AppType>(getBaseUrl(), {
async fetch(input, requestInit, _, __) {
return $fetch(input instanceof URL ? input.toString() : input, {
...requestInit,
...(typeof window === "undefined"
? (await import("next/headers")).headers()
: {}),
});
},
});
export const client = hc<AppType>(getBaseUrl(), {
async fetch(input, requestInit, _, __) {
return $fetch(input instanceof URL ? input.toString() : input, {
...requestInit,
...(typeof window === "undefined"
? (await import("next/headers")).headers()
: {}),
});
},
});
7 replies
HHono
Created by ForkMeDaddy on 9/12/2024 in #help
Client Response
I am using ofetch as my fetch fn. could this be related?
7 replies
DTDrizzle Team
Created by ForkMeDaddy on 4/24/2024 in #help
Query "with" not populated
No description
13 replies
DTDrizzle Team
Created by ForkMeDaddy on 4/24/2024 in #help
Query "with" not populated
bump pls
13 replies
DTDrizzle Team
Created by ForkMeDaddy on 4/24/2024 in #help
Query "with" not populated
all tables are currently empty and don't have data
13 replies
DTDrizzle Team
Created by ForkMeDaddy on 4/24/2024 in #help
Query "with" not populated
No description
13 replies
CCConvex Community
Created by ForkMeDaddy on 3/5/2024 in #support-community
Identity is null during CSR
wouldn't this behaviour defeat the point from SSR rendering? Because when I load the page on the server authenticated queries run (according to the docs, passing the auth token) but when the client hydrates state it would show something different because authenticated queries cannot be run and need to be delayed. Wouldn't this lead to hydration errors Or am I not geting it correctly? 😄
7 replies
CCConvex Community
Created by ForkMeDaddy on 3/5/2024 in #support-community
Identity is null during CSR
In fact how can it be that the Identity is known during SSR but then unknown for a short amount of time during client side rendering. This seems like not a very good behaviour
7 replies
CCConvex Community
Created by ForkMeDaddy on 3/5/2024 in #support-community
Identity is null during CSR
but what I see is when useing useConvexAuth "isAuthenticated" is first false then true. Do I really have to check this beforehand?
7 replies
CCConvex Community
Created by ForkMeDaddy on 3/5/2024 in #support-community
Identity is null during CSR
the route accessed is a non-public route (done with clerk) so I assume when I am on the page the user should be available
7 replies
CCConvex Community
Created by ForkMeDaddy on 3/5/2024 in #support-community
Identity is null during CSR
actually the SSR part doesnt matter. same result while calling useQuery directly
7 replies
CCConvex Community
Created by ForkMeDaddy on 2/29/2024 in #support-community
Typescript Question
Server component
7 replies
CCConvex Community
Created by ForkMeDaddy on 2/29/2024 in #support-community
Typescript Question
ahh no it's fetchQuery
7 replies
CCConvex Community
Created by ForkMeDaddy on 2/12/2024 in #support-community
Next Auth
guess it will lead to this
30 replies
CCConvex Community
Created by ForkMeDaddy on 2/12/2024 in #support-community
Next Auth
I mean I could check it when I am calling functions etc.
30 replies