how to use async storage in js 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);