humblemodulo
Explore posts from serversTypescript autocompletion in ".vue" files "broken"
Literally had to nuke my extensions and reinstall only relevant ones. Everything works now (at least in the context of Nuxt/Vue). I'll begin reinstalling other extensions later and post back if I find the culprit.
6 replies
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