Futures Trader
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
As it couldn't handle an uptick (but I guess that is also good news as it means people like it xD)
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
Don't get to hopefully get to a point where you get a call that it all crashed
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
Can always try to optimize but it also takes a lot of time.
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
What is enough and what is not enough when trying to start something
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
Yea that is the hard part haha "premature optimisation"
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
I'll close this one and reopen it if I get stuck with local update after the course. Thank you again @bostonsheraff for replying 🙏 appreciate it.
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
A rate limiter that I am learning now is amazing! considering someone refreshing 100+ times for fun would be a killer xD
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
Thank you for this input. A lot to consider but also some aren't "too" critical until an application actually scales and sees a performance hit. Always fun (as of late and when I got into NextJS) to consider different situations to optimize SEO, Performance and even cost considering data is coming in and out
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
Although I do consider performance, I was also thinking the cost of trying to get a lot of data again after updating or posting a single post for example.
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
Thank you for this input and also providing personal experience. I do have a question. Depending on the project, can it become costly if you are just refetching? For example a social media site considering you are refetching 10+ data with profile image, text, title etc
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
But still if someone things updating local cache is a bad idea. Please let me know about your experience
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/3/2023 in #questions
Does invalidate(); perform an actual refetch?
Looks like there is a way. I'll continue with the course then revisit this as looking at the docs there is a option where we just update local catch vs trying to perform a fetch
24 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 5/2/2023 in #questions
TS not liking the post table
Weird. Looks like once the post.ts router was created. The TS issue just disappeared. Is the router name and the table something Theo TS is looking for?
3 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 4/28/2023 in #questions
NextJS React Server Components with tRPC
Thanks for the input. Appreciate it
11 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 4/28/2023 in #questions
NextJS React Server Components with tRPC
Guess that makes sense. I'll consider holding off then on the new Next13 until something more stable comes into play especially the app dir.
11 replies
TTCTheo's Typesafe Cult
•Created by mohlx on 4/28/2023 in #questions
Why prisma do 2 seperate Queries instead of 1 left join?
@MohlX Have not started with Prisma. I was excited about possibly using it until I saw this question asked. Considering I'll be having 3-4 join tables. This sounds like it'll play terrible with Prisma vs PG and raw SQL 😦
4 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 4/28/2023 in #questions
NextJS React Server Components with tRPC
But thank you a lot for sharing this one as I didn't know it was an open one
11 replies
TTCTheo's Typesafe Cult
•Created by Futures Trader on 4/28/2023 in #questions
NextJS React Server Components with tRPC
I did see this on a different website. The approach looks the same. Is this a current "hack" until a more official form is implemented?
11 replies