#Convex Monorepo Issue (react-dom native)
13 messages · Page 1 of 1 (latest)
Convex Monorepo Issue (react-dom native)
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 #1118905953656520724 message)
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
got it working.
had to install "@clerk/clerk-react": "^5.5.0", as well as react-dom
same error, even after installing clerk-react in native project.
update:
adding these two packages to the root package.json seems to have done the trick
"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?
@rare adder
also, this guy has some good ideas:
https://github.com/get-convex/convex-backend/issues/74
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...