abort signal
Where/which file do i put the line abortOnUnmount: true in the t3 stack?
https://trpc.io/docs/aborting-procedures#trpcreact-query
Aborting Procedures | tRPC
@trpc/react-query
7 Replies
I think utils/trpc
where createTRPCNext is called
In the config
yes
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)"
it only gets cancelled if the component is unmounted during request
Not sure how to force that
I tried navigating to another page
By using "slow 3G" and the back button