oadster
TTCTheo's Typesafe Cult
•Created by Slamerz on 7/21/2023 in #questions
pagination from multiple sources?
Like do each of the items have an associated date for each item couldn’t you sort by that?
22 replies
TTCTheo's Typesafe Cult
•Created by Slamerz on 7/21/2023 in #questions
pagination from multiple sources?
I’m not sure I fully understand you are fetching both sources on frontend then want to combine them?
22 replies
TTCTheo's Typesafe Cult
•Created by Thund3rd3v on 7/11/2023 in #questions
Help needed handling 1k react checkboxes
25 replies
TTCTheo's Typesafe Cult
•Created by Thund3rd3v on 7/11/2023 in #questions
Help needed handling 1k react checkboxes
But you are pretty much looking for a virtualized list or something similiar
25 replies
TTCTheo's Typesafe Cult
•Created by Thund3rd3v on 7/11/2023 in #questions
Help needed handling 1k react checkboxes
25 replies
TTCTheo's Typesafe Cult
•Created by Thund3rd3v on 7/11/2023 in #questions
Help needed handling 1k react checkboxes
25 replies
TTCTheo's Typesafe Cult
•Created by Thund3rd3v on 7/11/2023 in #questions
Help needed handling 1k react checkboxes
I found an example with checkboxes that may help
25 replies
TTCTheo's Typesafe Cult
•Created by Thund3rd3v on 7/11/2023 in #questions
Help needed handling 1k react checkboxes
You can use virtualization to only show a portion at a time
25 replies
TTCTheo's Typesafe Cult
•Created by Thund3rd3v on 7/11/2023 in #questions
Help needed handling 1k react checkboxes
If there is a 1000 checkboxes at once it is very unlikely that the user needs to see 1000 on the page at once.
25 replies
TTCTheo's Typesafe Cult
•Created by Gus on 7/10/2023 in #questions
can't get to work NativeWind for Expo Mobile and Web
make a seperate nextjs site for web
7 replies
TTCTheo's Typesafe Cult
•Created by Gus on 7/10/2023 in #questions
can't get to work NativeWind for Expo Mobile and Web
and stick to mobile
7 replies
TTCTheo's Typesafe Cult
•Created by Gus on 7/10/2023 in #questions
can't get to work NativeWind for Expo Mobile and Web
I would honestly just not use web for this
7 replies
TTCTheo's Typesafe Cult
•Created by GutoGalego on 7/7/2023 in #questions
How do you approach long async types of operations on t3/next/vercel?
Otherwise you can make or use an external long running service and use a webhook between the service and next js when the job finishes
6 replies
TTCTheo's Typesafe Cult
•Created by GutoGalego on 7/7/2023 in #questions
How do you approach long async types of operations on t3/next/vercel?
The other is with trigger dev it is in beta / alpha now but you can apply and get access https://trigger.dev/
6 replies
TTCTheo's Typesafe Cult
•Created by GutoGalego on 7/7/2023 in #questions
How do you approach long async types of operations on t3/next/vercel?
There are a couple of ways I know of, one is with Upstash https://docs.upstash.com/redis/tutorials/job_processing
6 replies
TTCTheo's Typesafe Cult
•Created by .traevelliath on 7/7/2023 in #questions
Update userId which is used for defining relationships between models
4 replies
TTCTheo's Typesafe Cult
•Created by .traevelliath on 7/7/2023 in #questions
Update userId which is used for defining relationships between models
If I had to guess when you defined the relations you don't have something like cascade between them so if you change the userId you would need the changes to be cascaded to the other relationships
4 replies
TTCTheo's Typesafe Cult
•Created by Splatte on 7/6/2023 in #questions
Both my dev environment and my deployed code are the exact same, but my text is aligned differently
I am not sure what I am supposed to be seeing that is different
8 replies
TTCTheo's Typesafe Cult
•Created by Splatte on 7/6/2023 in #questions
Both my dev environment and my deployed code are the exact same, but my text is aligned differently
From these images it is like playing that game where you guess the difference between the two
8 replies
TTCTheo's Typesafe Cult
•Created by .majamin on 5/4/2023 in #questions
Matching types to Prisma models
You can just import the model type from prisma like where you have a prisma model named "Product"
6 replies