tRPCttRPC
Powered by
bigtechguyB
tRPC•4y ago•
1 reply
bigtechguy

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
Aborting Procedures | tRPC
@trpc/react-query
Aborting Procedures | tRPC
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

abortOnUnmount old Query vs new Query
MugetsuMMugetsu / ❓-help
3w ago
TypeError Cannot destructure property 'abortOnUnmount' of 'useContext(...)' as it is null.
TheGoatedDevTTheGoatedDev / ❓-help
4y ago