SamplePack
CCConvex Community
•Created by SamplePack on 3/10/2024 in #general
Generating randomness
I got a warning that I needed to target "Platform:node" in order to use Crypto
4 replies
CCConvex Community
•Created by SamplePack on 3/6/2024 in #general
useAction error handling
Oh awesome
6 replies
CCConvex Community
•Created by SamplePack on 3/6/2024 in #general
useAction error handling
That makes sense. Thanks so much for your help! Do you know if anyone has made some list of useful wrappers? I'm going to play around with it a bit more for sure
6 replies
CCConvex Community
•Created by SamplePack on 3/6/2024 in #general
useAction error handling
Hmm I guess all this would take some getting used to since I've been so comfortable with tRPC and Tanstack router for a while. It still feels a bit like I would be wanting to wrap my convex hooks with a custom hook that would give me some more nuance and expose states / events like "onMutate", "onSuccess" and "onError" for mutations and actions and "isLoading" for queries
6 replies