thomasplayschess
Wrapping useQuery into a custom hook
Actually, it's really close... But not 100% working as I've only just now noticed. The type hints, etc. is all working great for the input, but the output is always
any
.
Maybe AnyQueryProcedure
is not the right type. I will give this another try tomorrow... 🙈74 replies
Wrapping useQuery into a custom hook
WTF, I've used the "mark as solved" on the wrong message (thought it would apply to the whole thread) and now it believes that the emoji is the answer 🤦♂️ Well... Looks like I cannot undo my mistake.
74 replies