Convex Monorepo Issue (react-dom native)
when ever i install
"react-native-tab-view": "^3.5.2",
my native apps break.
i get the same error when i install other modules too. I don't see the connection between the packages i'm installing and the error.
I haven’t touched any other part of the repo yet.
any ideas?
9 Replies
GitHub
GitHub - AyoCodess/new-repo at stable-version
Contribute to AyoCodess/new-repo development by creating an account on GitHub.

I think our docs are missing a setup step which might be your issue -- you need to install
react-dom
in your react native project to use it with convex
(The Convex library is using a utility function from react-dom
https://discord.com/channels/1019350475847499849/1118905953656520724/1118967446657835148)I installed it directly into my repo, (native app) and got the same issue unfortunately
i restarted my mac, deleted all node modules, re+installed everything. now i get this error



"dependencies": {
"@clerk/clerk-js": "^5.18.0",
"react-dom": "18.2.0"
},
Is this still necessary? if so can i help you update your docs?
@sshader
also, this guy has some good ideas:
https://github.com/get-convex/convex-backend/issues/74
GitHub
Convex React client requires "react-dom" to be installed even on re...
In the docs here, convex instructs to use the default Convex React client library for React Native projects. When trying to do so, this code here convex-backend/npm-packages/convex/src/react/client...
Commented on the issue, we can keep the conversation there