example async storage
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);