rootlexR
Convex Community13mo ago
11 replies
rootlex

const { isAuthenticated } = useConvexAuth(); does not refresh in React Native

Hey convex people, It would be very much appreciated if we have a guide for convex auth on react native. By guide, I mean the middleware setup for _layout files and handle the navigation properly for file base navigation in react native. It will go a long way to improve the structure of our apps because I have just been winging it and it doesn't feel right.

Lately,

const { isAuthenticated } = useConvexAuth();

This hook doesn't refresh whenever I login until I restart my app and it updates the current state.

Please we really need a good guide for this. There's not much help out there for this and it used to work perfectly before.

Really looking forward to this guide. It could be on the docs or on the stack blog session. Thank you
Was this page helpful?