Manupa Samarawickrama
Manupa Samarawickrama
Explore posts from servers
TTCTheo's Typesafe Cult
Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
Let me know once u build a project. I'll help you out in reviewing your code
9 replies
TTCTheo's Typesafe Cult
Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
Best way to learn IMHO would be to build something and then get feedback from a more senior dev,
9 replies
TTCTheo's Typesafe Cult
Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
Also if u have to write long types or alot of types as an simple app dev, you might be doing it wrong.
9 replies
TTCTheo's Typesafe Cult
Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
TotalTS vids are indeed real life. In the sense that they refer to specific pain points that you come across. But u wont really find it usefu becuase you havent met it yourself
9 replies
TTCTheo's Typesafe Cult
Created by Risatoga on 12/17/2023 in #questions
Inference vs type definition
Best way to learn TS comes with time. Start building an app with TS straightaway.
9 replies
TTCTheo's Typesafe Cult
Created by oljimenez on 12/15/2023 in #questions
Import components from outside of Nextjs app.
Any particular reason why are these components in a seperate folder
6 replies
TTCTheo's Typesafe Cult
Created by Pavel Filo on 12/4/2023 in #questions
When to refetch query after mutation?
Why are u manually mutating instad of queryClient.invalidateQueries
5 replies
TTCTheo's Typesafe Cult
Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
Then use fetch cache control and in demand revalidation whan you actally call it
9 replies
TTCTheo's Typesafe Cult
Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
(Unless you want to use it to grab some quick json)
9 replies
TTCTheo's Typesafe Cult
Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
As a principle I would suggest keep your route handler be force-dynamic
9 replies
TTCTheo's Typesafe Cult
Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
you are referring to route handler cache
9 replies
TTCTheo's Typesafe Cult
Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
Ah
9 replies
TTCTheo's Typesafe Cult
Created by cidit on 12/14/2023 in #questions
headlessui `Property classname does not exist`
can you drop a full snippet ?
3 replies
TTCTheo's Typesafe Cult
Created by oljimenez on 12/15/2023 in #questions
Import components from outside of Nextjs app.
so you might have to move up by 1 folder and point to it
6 replies
TTCTheo's Typesafe Cult
Created by oljimenez on 12/15/2023 in #questions
Import components from outside of Nextjs app.
your webpack folder is outside of the scope of the tsconfig.json of you nextjs project
6 replies
TTCTheo's Typesafe Cult
Created by jakeleventhal on 12/15/2023 in #questions
Is it possible to discard the cache for a single vercel serverless function
Can you elaborate a bit more ?
9 replies
TTCTheo's Typesafe Cult
Created by gsemyong on 10/30/2023 in #questions
Build errors next js 14 vercel
What does the error say @gsemyong ?
11 replies
TTCTheo's Typesafe Cult
Created by ali on 10/29/2023 in #questions
should i really use nextjs fronbent ?
u dont write backend code in frontend
5 replies
TTCTheo's Typesafe Cult
Created by Otar ✞ on 6/17/2023 in #questions
Data fetching in client components, Next 13+
For now im using react query + zod
6 replies
TTCTheo's Typesafe Cult
Created by wlvz on 6/22/2023 in #questions
Prisma Data Proxy vs Drizzle
or you can use planetscale edge driverhttps://github.com/planetscale/database-js
8 replies