Roland
TTCTheo's Typesafe Cult
•Created by Roland on 1/31/2025 in #questions
Prevent router.refresh() from remounting client components
Only fetching the url param on server component
10 replies
TTCTheo's Typesafe Cult
•Created by Roland on 1/31/2025 in #questions
Prevent router.refresh() from remounting client components
I fixed it by moving the entire logic to the api
10 replies
TTCTheo's Typesafe Cult
•Created by Roland on 1/31/2025 in #questions
Prevent router.refresh() from remounting client components
Yeah if I call the api from server component cookies won't work
10 replies
TTCTheo's Typesafe Cult
•Created by Roland on 1/31/2025 in #questions
Prevent router.refresh() from remounting client components
I am rn taking a different approach, which is just fetching the data via api and not in layout, so i don't have to call router.refresh at all
10 replies
TTCTheo's Typesafe Cult
•Created by Roland on 1/31/2025 in #questions
Prevent router.refresh() from remounting client components
Both
10 replies
TTCTheo's Typesafe Cult
•Created by Roland on 1/10/2025 in #questions
t3chat development
I really hate how my nextjs app gets slow the moment i toggle 3g connection although 90% of the app could work offline if it was implemented
7 replies
TTCTheo's Typesafe Cult
•Created by Roland on 1/10/2025 in #questions
t3chat development
Oh yeah same
7 replies
TTCTheo's Typesafe Cult
•Created by Roland on 12/11/2024 in #questions
UploadThing: Image upload successful, but reaching neither onUploadError nor onUploadSuccess
5 replies
TTCTheo's Typesafe Cult
•Created by Roland on 12/11/2024 in #questions
UploadThing: Image upload successful, but reaching neither onUploadError nor onUploadSuccess
5 replies
TTCTheo's Typesafe Cult
•Created by Roland on 12/11/2024 in #questions
UploadThing: Image upload successful, but reaching neither onUploadError nor onUploadSuccess
Server-side
onUploadError
or onUploadSuccess
is never reached, but onClientUploadComplete is, and serverData is undefined.
5 replies