VI0L3TF0X
Explore posts from serversTTCTheo's Typesafe Cult
•Created by VI0L3TF0X on 4/3/2025 in #questions
Best practices using neverthrow w/ RQ
Like in the title - I wanted to ask if anyone used those two together, and in turn how to get best type inference out of the two - I assume custom hooks like
useNeverthrowQuery
that intercept the queryFn / mutationFn and turn it back to promises? Not sure if the API of neverthrow allows for such conversion2 replies