Julián David
Julián David7mo ago

Convex Auth is not supporting Next.js RC with React 19 right?

I get this error from the @convex-dev/auth library: Attempted import error: 'createContext' is not exported from 'react' .
4 Replies
jamalsoueidan
jamalsoueidan7mo ago
try using the "use client" directive at the top of the file.
Julián David
Julián DavidOP7mo ago
not working, is an issue with the middleware
sshader
sshader7mo ago
Yeah we certainly haven't been testing on RCs (been focusing on support for the currently released versions), so not too surprising that it doesn't work
Julián David
Julián DavidOP7mo ago
All good 🙂 I'm not a big fan of relying on useCallback, useMemo, and similar performance optimizations everywhere. The new React compiler seems promising, anyway, I can stick to stable releases in the meantime

Did you find this page helpful?