how to use use asyncstorage in react native globally code example
Example: fetch data from asyncstorage react native
let user = await AsyncStorage. getItem('user');
let parsed = JSON. parse(user);
let user = await AsyncStorage. getItem('user');
let parsed = JSON. parse(user);