https://starter.obytes.com/guides/authentication/ #283
Replies: 3 comments 1 reply
-
Zustand works very well with TypeScript and can be easily used outside React Three, which means more flexibility. this would React Tree NOT React Three |
Beta Was this translation helpful? Give feedback.
-
signIn: TThe function performs user sign-in. a T should be removed. |
Beta Was this translation helpful? Give feedback.
-
I have a question regarding authentication flow handling. Shouldn't we control the navigation flow (i.e., directing authenticated users to the home stack and unauthenticated users to the auth stack) in the root _layout rather than (app)/_layout? My concern is that with the current approach in (app)/_layout: Users have momentary access to the (app)/_layout Wouldn't handling this at the root layout level be more efficient to prevent unnecessary mounting and redirects? |
Beta Was this translation helpful? Give feedback.
-
https://starter.obytes.com/guides/authentication/
How to manage authentication in your app.
https://starter.obytes.com/guides/authentication/
Beta Was this translation helpful? Give feedback.
All reactions