bigtechguy
bigtechguy2y ago

abortOnUnmount config error

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
1 Reply
bigtechguy
bigtechguy2y ago
Using v10 rc-6 btw