humblemodulo
Is there a way to refetch a query with new parameters?
I'm sure it's a case of me trying to use it incorrectly, but . . .
Depending on state to trigger a refetch seems "wrong". 🤔 Is there no "freedom" to manually
refetch
with different/additional params as allowed by the actual endpoint? Is there a reason we're "handcuffed" in this way? Admittedly, the primary reason I'm using TRPC in the first place is for "ease of validation" and a bit of typesafety, but if I'm forced to rely on state for various individual params of a potentially larger params object, it might be "better" to just use an old school RESTful setup. 😢29 replies