ItsBrumm
TTCTheo's Typesafe Cult
•Created by Beardeddragon on 5/21/2024 in #questions
IndexedDB sharding library feedback
I went from a day of inserting data to about 20 minutes by using sharding
10 replies
TTCTheo's Typesafe Cult
•Created by Beardeddragon on 5/21/2024 in #questions
IndexedDB sharding library feedback
I recommend keeping it under 250k items per database
10 replies
TTCTheo's Typesafe Cult
•Created by Beardeddragon on 5/21/2024 in #questions
IndexedDB sharding library feedback
Indexed db gets slower when u get more and more items
10 replies
TTCTheo's Typesafe Cult
•Created by Beardeddragon on 5/21/2024 in #questions
IndexedDB sharding library feedback
thx for calling it out. Ill make it throw an error if not found
10 replies
TTCTheo's Typesafe Cult
•Created by aditya on 8/10/2023 in #questions
How to keep React state and db in sync with each other
when refreshing the page you could then fetch it from the database
26 replies
TTCTheo's Typesafe Cult
•Created by aditya on 8/10/2023 in #questions
How to keep React state and db in sync with each other
What you could do is set the like/follow button into a loading state and when the like succeeds you can update the state to the expected state
26 replies
TTCTheo's Typesafe Cult
•Created by harshcut on 7/2/2023 in #questions
importing data into [slug]
have u already found a solution?
20 replies
TTCTheo's Typesafe Cult
•Created by harshcut on 7/2/2023 in #questions
importing data into [slug]
what I just send should be server rendered
20 replies
TTCTheo's Typesafe Cult
•Created by harshcut on 7/2/2023 in #questions
importing data into [slug]
hope this is helpfull and if i am wrong please correct me
20 replies
TTCTheo's Typesafe Cult
•Created by harshcut on 7/2/2023 in #questions
importing data into [slug]
what u could do is use it like this: files=/craft/[slug]/page.tsx
20 replies