Mike
TTCTheo's Typesafe Cult
•Created by Giuliopime on 4/16/2024 in #questions
Animating a background moving between grid elements
yep, it's fixed width right now, but can you think of any way to make this work for dynamic width buttons?
8 replies
TTCTheo's Typesafe Cult
•Created by Giuliopime on 4/16/2024 in #questions
Animating a background moving between grid elements
hopefully that's helpful 😄
8 replies
TTCTheo's Typesafe Cult
•Created by Giuliopime on 4/16/2024 in #questions
Animating a background moving between grid elements
8 replies
TTCTheo's Typesafe Cult
•Created by tylerlaws0n on 4/13/2024 in #questions
For Sr+ Engineers: Frontend, Backend, or Full-stack?
Also the backend often owns vital business logic, so getting further into backend will help you become more familear with how the business actually operates (what services are used, how data is structured/saved, etc.)
6 replies
TTCTheo's Typesafe Cult
•Created by tylerlaws0n on 4/13/2024 in #questions
For Sr+ Engineers: Frontend, Backend, or Full-stack?
Yep, for every 1 dedicated frontend role, there's probably 10-20 full stack roles.
I don't have enough full-stack experience on paper to get interviews for those roles, and when I'm asked about features that I've owned end to end, I have to talk about personal projects.
6 replies
TTCTheo's Typesafe Cult
•Created by tylerlaws0n on 4/13/2024 in #questions
For Sr+ Engineers: Frontend, Backend, or Full-stack?
There are definitely more opportunities for work if you're full stack.
I've been pretty much exclusively frontend for the last 4 years, and it's killing me rn.
6 replies
TTCTheo's Typesafe Cult
•Created by indee on 4/11/2024 in #questions
i have a doubt regarding google oauth token
oh lol, yea I don't know much about pocketbase haha, sorry must have missed that!
9 replies
TTCTheo's Typesafe Cult
•Created by indee on 4/11/2024 in #questions
i have a doubt regarding google oauth token
Also make sure that your key hasn't been previously committed!
9 replies
TTCTheo's Typesafe Cult
•Created by indee on 4/11/2024 in #questions
i have a doubt regarding google oauth token
all your keys should go in a .env file and your .env should be added to your .ignore file
9 replies
TTCTheo's Typesafe Cult
•Created by Wiznet on 4/11/2024 in #questions
Do TRPC fetches need to be wrapped in react.useeffect?
you shouldn't wrap @trpc/react-query calls in a useEffect as it exposes hooks for you to make API calls
for example useQuery: https://trpc.io/docs/client/react/useQuery
4 replies
TTCTheo's Typesafe Cult
•Created by Wiznet on 4/11/2024 in #questions
Do TRPC fetches need to be wrapped in react.useeffect?
tRPC react query is a wrapper around react query which is used for client-side caching
https://www.npmjs.com/package/@trpc/react-query
https://tanstack.com/query/latest
4 replies
TTCTheo's Typesafe Cult
•Created by indee on 4/1/2024 in #questions
I have a doubt .
It's hard to say since you haven't specified the platform you're using. Vercel has a great free tier though: https://vercel.com/pricing
In general, if it needs to stay free, just don't put a card on file.
2 replies
TTCTheo's Typesafe Cult
•Created by v-for-v on 4/1/2024 in #questions
Are cold starts an issue?
There are cold starts, but you can choose your runtime (serless vs edge). Edge should be faster to spin up, but it has some limitations: https://nextjs.org/docs/app/building-your-application/rendering/edge-and-nodejs-runtimes
4 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 3/12/2024 in #questions
NextJS Server Cache?
@Wenish maybe try changing the data to see if that triggers a refetch? I'm not sure if a template change will trigger a data refetch or not 🤔 😅
8 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 3/12/2024 in #questions
NextJS Server Cache?
You might want to add
revalidate: 60
to your first return, but I'm not 100% sure about this.8 replies
TTCTheo's Typesafe Cult
•Created by Y7YA on 3/12/2024 in #questions
NextJS Server Cache?
@Wenish
I just looked through the docs, and it looks like that second return should be working correctly for Incremental Static Regeneration (ISR).
https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration
I'm wondering 2 things:
1. Is symptom set to false when you build your application?
2. Is your data changing within that 60s? If the data doesn't change,
8 replies