T
tRPC

Updating from v9 to v10 - how to access react hooks?

Updating from v9 to v10 - how to access react hooks?

PPatrickJ10/22/2022
Hey folks, I'm updating to v10. I replaced @trpc/react@9.27.4 with @trpc/react-query@10.0.0-proxy-beta.25 and got deprecation warning on createReactQueryHooks import. How I'm supposed to use that now? Documentation suggests using createReactQueryHooks, but I suspect it might be out of date! I'm using plain React, no Next.js.
PPatrickJ10/22/2022
Ah well, code block is correct. The sentence above it is wrong!
UUUnknown User10/22/2022
Message Not Public
Sign In & Join Server To View

Looking for more? Join the community!

T
tRPC

Updating from v9 to v10 - how to access react hooks?

Join Server