msvcredist2022
TTCTheo's Typesafe Cult
•Created by Joey9 on 4/23/2025 in #questions
T3 Env - Handle Dev vs Prod
you don't need prod keys in your dev environment, and vice versa. you should not have two different ENV keys for this.
12 replies
TTCTheo's Typesafe Cult
•Created by Joey9 on 4/23/2025 in #questions
T3 Env - Handle Dev vs Prod
like just make SUPABASE_URL=xxxx in your local .env file and then in your deployment on vercel or your own server or whatever, you configure the env there
12 replies
TTCTheo's Typesafe Cult
•Created by Joey9 on 4/23/2025 in #questions
T3 Env - Handle Dev vs Prod
shouldn't you have completely separate .env files lol
12 replies
TTCTheo's Typesafe Cult
•Created by filyys on 4/22/2025 in #questions
Keys
you want to ensure that your key is something that is the same for the same state and different for all other states, a uuid is perfectly fine for this but it should not be randomly generated on the fly
9 replies
TTCTheo's Typesafe Cult
•Created by filyys on 4/22/2025 in #questions
Keys
it's not great if you mutate your array, e.g. remove the element at key=5 so that the current key=6 element becomes key=5, which can mess stuff up
9 replies