GetPsyched
Explore posts from serversTTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
Right! Thanks :)
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
so weird
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
this fixed it lol
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
me setting a default here seems to be the most relevant
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
The diff between the two is quite minimal
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
yeah, I don't see that error with
useSuspenseQuery
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.this is still happening :(
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
it was because of the
initialData
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
>:(
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
ah, it's the
initialData
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
I think that was because it got set as stale
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
oh it fetched now, after a long time
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
no fetch request is being sent
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
also, using
useQuery
now doesn't fetch my data at all for some reason29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
first snippet gives me a wrapper Providers which I wrap
children
in layout.tsx
29 replies
TTCTheo's Typesafe Cult
•Created by GetPsyched on 9/28/2024 in #questions
Weird errors when using useQuery
cc @dan
29 replies