react-native crashes with trpc > 11.3.0
Hey,
I am currently setting up trpc in our codebase. We have a monorepo with React webapp, Express.js API (node 20) and React-native mobile app (Expo 53). Once I add
"@trpc/client": "^11.7.2" as a dependency to the mobile app, it crashes on start immediately.
The logs show this error.
Using 11.3.1 works just fine, 11.4.0 and newer does not. I figured this out some time ago and waited a bit if it would be resolved by chance 😄
Any help on solving or debugging the issue or guidance on what info is needed to help would be highly appreciated3 Replies
Could you open a github issue with details and a reproduction please? Weird that this has broken
Yes can do. Will need to figure out how to setup the reproduction though.
Weird that this has brokenThat's what I thought 😄
A full stack trace at least. That error looks like a possible you issue honestly, but I appreciate you’ve compared versions and found it to be tRPC