android – Where do we store user data after login in React Native


I am new to React Native and app development. So I am making a basic app that once opened, a modal opens up for use to login. User authenticates with Supabase, and then modal goes away to user can start using the app. The app will use the user’s data, such as his name, his privileges and things like that.
My fundamental question is, do I need to locally store the ‘session’ data and transfer it to other views/screens? or just transfer the access token and make requests to database for other interactions such as getting user details etc. How does it work generally, I think it is not down to React Native only and generally the app dev approach.

Latest articles

spot_imgspot_img

Related articles

Leave a reply

Please enter your comment!
Please enter your name here

spot_imgspot_img