dhatGuy
dhatGuy6mo ago

[TRPCClientError: opts.signal?.throwIfAborted is not a function (it is undefined)]

It's a react native app trpc v11 which works until I deleted node_modules, ran yarn install and started getting this error.
2 Replies
dhatGuy
dhatGuyOP6mo ago
installing v11.0.0-rc.441 solved this
Jikyu
Jikyu6mo ago
Created a PR with a potential fix https://github.com/trpc/trpc/pull/5893
GitHub
Fix throwIfAborted usage for React Native by jikyu · Pull Request...
Closes # 🎯 Changes AbortSignal.throwIfAborted() is NOT available on React Native and causes all tRPC procedures to fail on React Native. Since there is no good widely maintained polyfill for AbortC...

Did you find this page helpful?