T
tRPC

❓-help

abortOnUnmount config error

Bbigtechguy11/9/2022
I'm encountering an error when passing abortOnUnmount saying that it does not exist as a possible param. I'm basing this off the v10 docs. Am I missing something here? My implementation:
const [trpcClient] = React.useState(() =>
trpc.createClient({
abortOnUnmount: true,
links: [
const [trpcClient] = React.useState(() =>
trpc.createClient({
abortOnUnmount: true,
links: [
https://trpc.io/docs/v10/aborting-procedures Using v10 rc-6 btw

Looking for more? Join the community!