abort signal

Where/which file do i put the line abortOnUnmount: true in the t3 stack? https://trpc.io/docs/aborting-procedures#trpcreact-query
7 Replies
ryanagillie
ryanagillie2y ago
I think utils/trpc where createTRPCNext is called
shikishikichangchang
In the config
ryanagillie
ryanagillie2y ago
ryanagillie
ryanagillie2y ago
yes
shikishikichangchang
I tried that But update requests don't get cancelled... How does one check if a request gets cancelled or not? I'm inspecting the network tab but it doesn't show "(cancelled)"
ryanagillie
ryanagillie2y ago
it only gets cancelled if the component is unmounted during request Not sure how to force that
shikishikichangchang
I tried navigating to another page By using "slow 3G" and the back button
Want results from more Discord servers?
Add your server