rikisann
Explore posts from serversTTCTheo's Typesafe Cult
•Created by rikisann on 11/21/2023 in #questions
How to use TRPC query without hooks
Hi guys! I'm new to TRPC so I see how you can fetch stuff in the backend with trpc using hooks like so
const { data: videos } = api.videos.fetchVideos.useQuery();
but in my case I want to fetch once an action happens and pass in an argument that I get once user submits something. What is the best way to go about this?14 replies
KPCKevin Powell - Community
•Created by rikisann on 10/18/2023 in #back-end
Having problem with cors - Flask
19 replies