meeepsss
meeepsss
TTCTheo's Typesafe Cult
Created by meeepsss on 7/29/2023 in #questions
tRPC with ssr: true - what's going on?
i've tried setting ssr: true with requests on the client and it does indeed wait for the request before rendering the page but then it requests the page again on rehydration! Does ssr: true also mean i'm going to run all those requests twice
4 replies
TTCTheo's Typesafe Cult
Created by meeepsss on 7/29/2023 in #questions
tRPC with ssr: true - what's going on?
suppose we have to make a query for page data, it seems our options are ssr: false and getServersideProps which does ssr but doesn't give you the page with a loading state. OR, ssr: true and use trpc useQuery on the client which will (on first page load) seamlessly run the request on the server without having to define getInitialProps or getServersideProps?
4 replies
TTCTheo's Typesafe Cult
Created by Jacob on 7/29/2023 in #questions
One to Many connection not working correctly in Dirzzle
Snow us the schema?
4 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
as for next, their documentation is good. Just take it slow and relate things back to simple example apps
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
i learn from books initially so can't suggest much else. I'm sure lots of others have experience with learning JS more practically
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
but those are probably not the best if you're more practically minded
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
i always suggest YDKJS as they're free to read books which are great (if a little outdated in patterns now)
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
this course is good for very quickly starting TS https://www.totaltypescript.com/tutorials/beginners-typescript
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
tag me if you figure something out or get stuck though
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
jumping in is great but maybe jump in on TS and next project first if you keep having difficulties :p
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
t3 has a bunch of stuff to solve problems which you probably haven't seen in practice before. Without understanding the motivations of these packages, it's hard to figure out how they work
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
it's definitely important to get the fundamental stuff down like TS and understanding what's server vs client in next
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
awesome. Best of luck
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
one of those warnings is probably the cause of the issue!
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
if you're getting the same error a bunch, you've got to look into them
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
i mean the typescript errors elsewhere too. You said they're spread across the project
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
for instance, your clerkClient.users shouldn't have an any type
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
and probably go through and figure out where all your TS errors are coming from. Hopefully fixing those one by one will help you debug the issue
98 replies
TTCTheo's Typesafe Cult
Created by lil_bixbyte on 7/28/2023 in #questions
T3 Stack Tutorial - Posts won't retain
i haven't watched the video but the thing to do now is to make sure you've copied it correctly (there's probably an example repo)
98 replies