alrightsure
alrightsure
Explore posts from servers
TTCTheo's Typesafe Cult
Created by alrightsure on 5/12/2023 in #questions
Suggestions for React Native offline-first DB with syncing
I just ended up using Supabase with some specific configs for tanstack query to be more offline friendly. Definitely not quite up to par with firebase’s offline capabilities but good enough for me
6 replies
TTCTheo's Typesafe Cult
Created by ruhroh on 11/13/2022 in #questions
How would you make requests to an Open API that follows traditional REST using t3 stack
so call the tRPC endpoint in the frontend, and then call the API with fetch within the tRPC end point, return the result of the fetch with tRPC
25 replies
TTCTheo's Typesafe Cult
Created by ruhroh on 11/13/2022 in #questions
How would you make requests to an Open API that follows traditional REST using t3 stack
you could call it in the front end with react-query, but more likely you would want to call it in the backend from a tRPC query
25 replies
TTCTheo's Typesafe Cult
Created by alrightsure on 11/11/2022 in #questions
Best Practices When Using Components with Tailwind
Awesome definitely checking these out, thanks guys
15 replies
TTCTheo's Typesafe Cult
Created by nexxel on 11/1/2022 in #questions
how to reduce layout shift in astro
I'm not super well-versed in fonts but I'd probably mess with that. If you throttle the network and performance, you can see that it loads in another font first, then jumps to the correct layout once it loads in your font.
124 replies
TTCTheo's Typesafe Cult
Created by nexxel on 11/1/2022 in #questions
how to reduce layout shift in astro
@nexxel how are you loading the font in? I think that's what's making the page jump on load.
124 replies
TTCTheo's Typesafe Cult
Created by nexxel on 11/1/2022 in #questions
how to reduce layout shift in astro
I would think giving the body a width: 100% would help, but I can't test it in the browser since it resets the css every reload.
124 replies
TTCTheo's Typesafe Cult
Created by Chen on 10/24/2022 in #questions
NativeWind vs twrnc for react native(+web) Tailwind solution?
If you need to use both web and native I’d checkout create-t3-turbo
9 replies
TTCTheo's Typesafe Cult
Created by Chen on 10/24/2022 in #questions
NativeWind vs twrnc for react native(+web) Tailwind solution?
Theo recommends against it too, don’t remember which video he talked about it
9 replies
TTCTheo's Typesafe Cult
Created by Chen on 10/24/2022 in #questions
NativeWind vs twrnc for react native(+web) Tailwind solution?
You’ll end up spending more time fiddling with it to work on both platforms than if you just had a separate codebase IMO
9 replies
TTCTheo's Typesafe Cult
Created by Chen on 10/24/2022 in #questions
NativeWind vs twrnc for react native(+web) Tailwind solution?
Also don’t use react native for web.
9 replies
TTCTheo's Typesafe Cult
Created by Chen on 10/24/2022 in #questions
NativeWind vs twrnc for react native(+web) Tailwind solution?
I’ve used both and think I prefer nativewind. They’re both great though
9 replies
TTCTheo's Typesafe Cult
Created by Wezter on 10/12/2022 in #questions
tRPC with mobile apps?
Codepush is a thing
38 replies
TTCTheo's Typesafe Cult
Created by aditya on 10/12/2022 in #questions
Free site for sending signup signin emails?
yea I'm using my first cockroach setup right now and it's pretty based
39 replies
TTCTheo's Typesafe Cult
Created by aditya on 10/12/2022 in #questions
Free site for sending signup signin emails?
Planetscale and Cockroach as well
39 replies
TTCTheo's Typesafe Cult
Created by John on 10/6/2022 in #questions
Is Capacitor + T3-Stack possible?
It’s not that bad if you already know react
6 replies
TTCTheo's Typesafe Cult
Created by John on 10/6/2022 in #questions
Is Capacitor + T3-Stack possible?
You can use create-t3-turbo but you still have to use RN for the front end of the app
6 replies