f2bear
f2bear
Explore posts from servers
TTCTheo's Typesafe Cult
Created by gave_one on 8/6/2023 in #questions
[next-auth][error][JWT_SESSION_ERROR]
my error message is mentioning an empty line in my code as well and that also weirds me out a bit
12 replies
TTCTheo's Typesafe Cult
Created by gave_one on 8/6/2023 in #questions
[next-auth][error][JWT_SESSION_ERROR]
the weird thing is that if I change the strategy to 'database' everything works fine but that does not allow me to use the credentials provider
12 replies
TTCTheo's Typesafe Cult
Created by gave_one on 8/6/2023 in #questions
[next-auth][error][JWT_SESSION_ERROR]
if you try to console.log the user.id value inside the jwt callback it's shown as undefined and that is what it's causing the error
12 replies
TTCTheo's Typesafe Cult
Created by gave_one on 8/6/2023 in #questions
[next-auth][error][JWT_SESSION_ERROR]
I'm facing the same error, noticed that it's produced on the jwt callback but still don't know why or how to solve it
12 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
many thanks guys you save me
18 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
cool, I'll look at that as well
18 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
should I need to run the query again after the mutation?
18 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
and what should I do if I had a mutation that adds a new record on the same component and I want to add it to the dom as well?
18 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
all right, would take that in mind next time!
18 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
why is that? some perf issue or it's just insecure af?
18 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
cool I'll check that out!
18 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
hey this did work, thanks! I guessed that onSuccess was the correct place to do this for some reason hahah
18 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
oh so the onSuccess copy the state from server to client? I believed it was just the callback on the client from where the query was finished
18 replies
TTCTheo's Typesafe Cult
Created by f2bear on 2/6/2023 in #questions
Problems with useQuery.onSuccess()
I'd tried by just using an array like const links: ReactElement<typeof CategoryLink>[] = [] and then just pushing the data but that does not display nothing on the dom for some reason
18 replies