asyncstorage defau 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);