T
tRPC

TypeError Cannot destructure property 'abortOnUnmount' of 'useContext(...)' as it is null.

TypeError Cannot destructure property 'abortOnUnmount' of 'useContext(...)' as it is null.

TTheGoatedDev11/8/2022
Zero Clue what is error mean exactly.... DW I AM A FUCKING IDIOT Nope the issue is still here
UUUnknown User12/3/2022
2 Messages Not Public
Sign In & Join Server To View
TTheGoatedDev12/3/2022
Yup all fixed but it has been a while to I don’t remember the fix
UUUnknown User12/5/2022
2 Messages Not Public
Sign In & Join Server To View
Eeeswar8/25/2023
@thegoateddev longshot but any chance you remember the fix now? haha
TTheGoatedDev8/25/2023
I have the strangest idea that it was version mismatch of the packages Don’t 100% remember sadly Or might have been SSR related

Looking for more? Join the community!

T
tRPC

TypeError Cannot destructure property 'abortOnUnmount' of 'useContext(...)' as it is null.

Join Server
Recommended Posts
First time learning trpc really good tool. help with setting cookies on front end.Hello how do you use tRPC to make a cookie and send it to the front end. or is there any other methoHow do we add settings in each query like before?Since the new update, bee super confused. I used to do this, and can't recreate it now. ``` const Handling error globallyAccording to the docs on errors https://trpc.io/docs/v10/error-handling I should get such error objecant access trpc endpoints via the browseri'm converting some express endpoints to trpc, and I cant figure out how to access my endpoints via tRPC without SSRWhen using tRPC with ssr it uses `getInitialProps`, which has kinda of a cool effect in terms how a trpc + expo react native issueDoes anyone know how to solve this? Im not familiar with webpack at all. I’m a junior frontend.Can you chain middlewares in v10?Would I be able to make a rate limit and isAuthed middleware, then put queries behind both middlewarLoad data client-side via react-query while using tRPC with SSRIs there any way to load data client-side when using tRPC? I want my page to be rendered and load daServing clients in another repository?Would it be possible for tRPC to act as a server for clients in another repository and if so how wouWhen not to use tRPC?Is there any scenario when building a mobile and/or a web app with backend that you would not recommBi directional infinite query example with prismaI'm working on a project that is using this pattern, but my `hasPreviousPages` gets blown away when Websockets not sending dataHi, I have a websocket route that doesn't seem to be sending any data I added a setInterval to tesQuery keysHi! I'm super new to TRPC and based on my understanding, TRPC has a thin wrapper around react query.Possible to use tRPC proxy client inside Edge Runtime?Hi, im trying to fetch a route from trpc inside a Vercel Edge Runtime function. Therefore im tryinv10 migration using codemodSo I've been looking at the codemod that helps with transition towards v10 and I haven't been able tSSR and loading indicators - I don't get itGuess I'm missing something here, but unfortunately I'm having a hard time with the docs: in https:/Prefetch forEachHello, I'm trying to prefetch a list of procedures like this ```ts type QueryKeys = { // how to tNextJs middleware broken by tRPCHi, I have a NextJs middleware that is redirecting to the login page. Basically an Auth guard over mCannot read properties of undefined (reading 'query')Hey folks, Updating from v9 to v10. I thought I'm done, no type errors. Launching the app in dev modUpdating from v9 to v10 - how to access react hooks?Hey folks, I'm updating to v10. I replaced @trpc/react@9.27.4 with @trpc/react-query@10.0.0-proxy-be