ArjunBroEpic
TTCTheo's Typesafe Cult
•Created by SharpieMaster on 10/11/2023 in #questions
optimistic update for complex data structure
I don't know if it works on nextjs but theres this:
https://medium.com/@prithvi128717/creating-optimistic-updates-in-ui-with-react-jss-c5769b37b945
174 replies
TTCTheo's Typesafe Cult
•Created by ByteBender on 10/13/2023 in #questions
Technology to store Html files with image/base64 srcs
If you are using fly.io they provide a storage volume for you
4 replies
TTCTheo's Typesafe Cult
•Created by ByteBender on 10/13/2023 in #questions
Technology to store Html files with image/base64 srcs
Considering that it is text, you can probably put it in any database really
It would be heavy however, so considering a storage provider is good
Maybe use uploadthing?
4 replies
TTCTheo's Typesafe Cult
•Created by West side ⁉ on 10/12/2023 in #questions
Validating array using zod
but it might be useful tho
14 replies
TTCTheo's Typesafe Cult
•Created by West side ⁉ on 10/12/2023 in #questions
Validating array using zod
no cuz it validates the array in its entire and gives type inferrence
14 replies
TTCTheo's Typesafe Cult
•Created by West side ⁉ on 10/12/2023 in #questions
Validating array using zod
I would just iterate over the array and validate each one of them
I don't know if there's a way in zod to get the specific invalid element
14 replies