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
try using the "use client" directive at the top of the file.
not working, is an issue with the middleware
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
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